Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: ClrDraw on May 17, 2014, 09:22:36 pm

Title: Portal 3 - Exile [Alpha]
Post by: ClrDraw on May 17, 2014, 09:22:36 pm
Most recent update:


(http://www.omnimaga.org/index.php?action=dlattach;topic=21112.0;attach=18209;image\) (http://www.omnimaga.org/index.php?action=dlattach;topic=21112.0;attach=18310;image)

Spoiler For original post:
Its gonna be hard, but I'm gonna try to make my own Portal clone on the TI  :w00t: its pretty ambitious, I know, but I think I can do it.
The whole thing will be entirely my own code. I'm not even going to look at the source for Builderboy's Portal Prelude (http://www.omnimaga.org/portal-x/), although I would like to use mostly the same sprites. I just started this morning, and this is what I have so far  :) what do you think?


(http://img.ourl.ca/portal_epilogue_01.gif)
Title: Re: Portal Epilogue
Post by: 123outerme on May 17, 2014, 09:32:36 pm
Looks great! The only thing I would change is the sprite, which would be to make the legs shorter and add more detail to the head.
Title: Re: Portal Epilogue
Post by: bb010g on May 17, 2014, 09:43:50 pm
Don't forget [alpha]. ;)
Title: Re: Portal Epilogue [Alpha]
Post by: pimathbrainiac on May 17, 2014, 10:02:16 pm
Looks great! The only thing I would change is the sprite, which would be to make the legs shorter and add more detail to the head.

He's using Builderboy's sprites from Portal Prelude, as he already said (although not the same animations yet). I personally would not change them :P

Looks nice. I would try to add portals next!
Title: Re: Portal Epilogue [Alpha]
Post by: 123outerme on May 17, 2014, 10:38:19 pm
Looks great! The only thing I would change is the sprite, which would be to make the legs shorter and add more detail to the head.

He's using Builderboy's sprites from Portal Prelude, as he already said (although not the same animations yet). I personally would not change them :P

Looks nice. I would try to add portals next!
Yeah, I saw, but I was suggesting that he changed it both so that he could be proud of his originality and because it looks a bit off :P
Title: Re: Portal Epilogue [Alpha]
Post by: Runer112 on May 18, 2014, 12:15:29 am
Looks great! The only thing I would change is the sprite, which would be to make the legs shorter and add more detail to the head.

You can't really make the legs much shorter, they're already only 2 (2.5?) pixels long. And a single pixel for the head is about the right size relative to the size of the rest of the sprite, so there isn't much room to add detail there.

For the tiny size in which the sprite has to fit, I think Builderboy's original version might be as good as one can get.
Title: Re: Portal Epilogue [Alpha]
Post by: ClrDraw on May 18, 2014, 12:18:52 am
I agree. If I were to change the character, I would have to make it bigger, then make everything else bigger, which would mean less-complex rooms.
Title: Re: Portal Epilogue [Alpha]
Post by: Streetwalrus on May 18, 2014, 01:29:04 am
It's looking pretty nice already. :D
Title: Re: Portal Epilogue [Alpha]
Post by: Sorunome on May 18, 2014, 04:13:19 am
Haha, looking nice so far! I wish you good luck with the project ;)
Title: Re: Portal Epilogue [Alpha]
Post by: Matrefeytontias on May 18, 2014, 06:39:05 am
Good luck, you'll need it :P Also, beware not to make it too similar with Builerdboy's.
Title: Re: Portal Epilogue [Alpha]
Post by: ClrDraw on May 18, 2014, 12:19:51 pm
Thanks everybody :D The plot and puzzles will be entirely different from Builderboy's. I also plan to have aerial faith plates instead of the plasma balls.
Title: Re: Portal Epilogue [Alpha]
Post by: Streetwalrus on May 18, 2014, 12:33:46 pm
Yayayayay aerial faith plates !!!!1 :w00t:
Title: Re: Portal Epilogue [Alpha]
Post by: bb010g on May 18, 2014, 05:18:27 pm
Thanks everybody :D The plot and puzzles will be entirely different from Builderboy's. I also plan to have aerial faith plates instead of the plasma balls.
Why not both? (Also, gels.)
Title: Re: Portal Epilogue [Alpha]
Post by: ClrDraw on May 18, 2014, 07:03:54 pm
Gels would be cool (like this game (http://www.ticalc.org/archives/files/fileinfo/440/44086.html)).
Title: Re: Portal 3 - After Life [Alpha]
Post by: ClrDraw on October 18, 2014, 04:17:17 pm
Update: In case you were wondering, this project is not dead. I had taken a break to work on other projects, but now I'm back to working on it. I've fixed bugs, simplified my code, and should finish implementing portals soon. Also I'm making an incredible menu (screenshots to come!).
Title: Re: Portal 3 - After Life [Alpha]
Post by: Builderboy on October 18, 2014, 04:29:35 pm
I'm interested to see how you implement portals.  Are you planning for anything like portals on diagonal surfaces?  Also are you aware of the portal bumping problem?  It was probably the hardest problem to solve in my old portal game and resulted in a ton of code, and still has a number of small bugs.
Title: Re: Portal 3 - After Life [Alpha]
Post by: ClrDraw on October 18, 2014, 04:38:12 pm
I'm planning to not do diagonal surfaces, just regular ones. I realized portal bumping would be an issue but haven't put much thought into that yet to be honest. I'm thinking I'll solve it by making the portals snap to the 5x5 grid automatically and simply check if the variable containing the existing portal is the same as the variable containing the portal that's being placed.

My biggest problem will probably be speed and size.
Title: Re: Portal 3 - After Life [Alpha]
Post by: Builderboy on October 18, 2014, 06:28:10 pm
Well I wish you good luck and hope that the portal bumping all works out well :D
Title: Re: Portal 3 - After Life [Alpha]
Post by: ClrDraw on October 18, 2014, 09:29:28 pm
Thank you Builderboy :) if my game ends up being half as good as yours, I'll be happy.

Here's what I've got for a menu (also added to first post):
Title: Re: Portal 3 - After Life [Alpha]
Post by: Ivoah on October 18, 2014, 10:38:45 pm
This looks great! I can't wait for it to be finished.
Title: Re: Portal 3 - After Life [Alpha]
Post by: annoyingcalc on October 20, 2014, 06:12:07 pm
Thank you Builderboy :) if my game ends up being half as good as yours, I'll be happy.

Here's what I've got for a menu (also added to first post):

That menu is epic.
Title: Re: Portal 3 - After Life [Alpha]
Post by: ClrDraw on October 20, 2014, 07:26:52 pm
Thank you. I'm going all out with this project  [-.-]~
Title: Re: Portal 3 - Exile [Alpha]
Post by: DJ Omnimaga on November 04, 2014, 01:40:58 am
I'M a bit late to the party, but I was surprised to see a new portal game being worked on. If you can somewhat match the original Portal Prelude physics and gameplay it will be amazing. It's already a big classic for calcs so I'm sure people would be happy to see a sequel (assuming it gets finished of course, although if you decide to not finish this, a level pack for Portal Prelude instead would still be kinda cool).

Something I wonder: Builderboy originally made one or two Portal games in pure BASIC before he started the Axe game. Do you think the levels from the BASIC game could be implemented into a new Axe Portal?
Title: Re: Portal 3 - Exile [Alpha]
Post by: Streetwalrus on November 04, 2014, 11:07:32 am
Nice menu, I hope this ends up good. :)
Title: Re: Portal 3 - Exile [Alpha]
Post by: ClrDraw on November 05, 2014, 06:56:00 pm
If you can somewhat match the original Portal Prelude physics and gameplay it will be amazing.
That's the plan  :)  It will have an entirely different plot and a few different features (most likely swapping out energy pellets for something else as they weren't included in Portal 2), but I plan on making it overall similar to Builderboy's (especially graphically). As for the BASIC levels, that's not a bad idea.
Title: Re: Portal 3 - Exile [Alpha]
Post by: Builderboy on November 06, 2014, 12:29:05 am
There won't a way to port the levels from the Basic game, since portals worked completely differently in that game.  Portals couldn't be inside of walls, they were in empty space instead.  There was no momentum or anything like that either, so I imagine the puzzles wouldn't port over particularly well anyway.  Also, how is progress on this going? 
Title: Re: Portal 3 - Exile [Alpha]
Post by: ClrDraw on November 06, 2014, 06:39:25 pm
Update: I've had little time with classes and everything to work on this lately, but I still made some progress. Portals can now be shot (up and down only, more to come later). I also wrote decent code that let the player fall through the portals but it got deleted... I plan to rewrite it this weekend.


(http://img.ourl.ca/eyecandy-1.gif)
Title: Re: Portal 3 - Exile [Alpha]
Post by: bb010g on November 08, 2014, 02:23:10 am
You may want to look at Mari0's source a bit too for inspiration.
Title: Re: Portal 3 - Exile [Alpha]
Post by: Builderboy on November 08, 2014, 06:45:25 pm
Aw didn't show any screenshots of the dude going through the portal?  Also it looks like you are planning to have the portals 5 pixels wide, what made you decide to use those dimensions?
Title: Re: Portal 3 - Exile [Alpha]
Post by: ClrDraw on November 08, 2014, 07:58:04 pm
He can't go through portals yet :/ I had a bit of code for that completed but it got erased during an accidental reset.
But I think 5x5 portals would be easiest to use because I can have them snap to the 5x5 grid (since everything else in the game is 5x5). I may implement what Valve used and have the player automatically adjust to make falling into portals easier (since guiding the player into a small portal manually can be annoying).
Title: Re: Portal 3 - Exile [Alpha]
Post by: Builderboy on November 08, 2014, 08:28:53 pm
If you make the portals snap to the 5x5 grid wouldn't that sometimes end up with some weird situations.  Like standing above a floor and shooting down, and even though there is plenty of open space the portal still jumps to the left or to the right of your player?
Title: Re: Portal 3 - Exile [Alpha]
Post by: aeTIos on November 08, 2014, 08:34:06 pm
ITT: builderboy reveals his struggles while writing portal on calc.

Really though, this game looks coooool.
Title: Re: Portal 3 - Exile [Alpha]
Post by: Streetwalrus on November 11, 2014, 03:43:48 pm
ITT: builderboy reveals his struggles while writing portal on calc.
Lol.

Also yes, I'm supporting the project just like aeTIos.
Title: Re: Portal 3 - Exile [Alpha]
Post by: ClrDraw on November 12, 2014, 11:12:18 pm
Thanks everyone for the support :)

Quote
If you make the portals snap to the 5x5 grid wouldn't that sometimes end up with some weird situations.  Like standing above a floor and shooting down, and even though there is plenty of open space the portal still jumps to the left or to the right of your player?
That's true, I'll have to think about that. I may make it so that it guides the player into the portal when in the air (like the real portal) to make it easier. But when you're on the ground it would have to be different... I'm not sure yet.
Title: Re: Portal 3 - Exile [Alpha]
Post by: ClrDraw on November 23, 2014, 11:58:23 am
Update: portals now work in four directions. I took Builderboy's advice decided not to have them snap to the 5x5 grid after all. Instead: portal bumping!  :w00t:  If the player tries to make a portal where it would hang off of a wall or be on top of another portal, it shifts the new portal automatically.

I'm also going to optimize my horribly redundant code and hopefully have a source release soon.
Title: Re: Portal 3 - Exile [Alpha]
Post by: Builderboy on November 24, 2014, 05:16:44 am
Nice progress!  You said the bumping handles when the portal would hang off a wall, or when it would be inside another portal.  Does it also account for when a placed portal would be inside a wall?  From the screenshot it would seem so, but it is hard to tell haha.  What method did you end up using for the portal bumping?
Title: Re: Portal 3 - Exile [Alpha]
Post by: ClrDraw on November 24, 2014, 08:43:53 am
Yup, that's included too! I made it so that once the wall, it moves side to side (by greater increments) until either my really long if statement is satisfied (checks if wall is behind portal, not in front of portal, and portal isn't hanging over) or until its repeated a certain amount of times (to prevent an endless loop).
Title: Re: Portal 3 - Exile [Alpha]
Post by: Eiyeron on November 26, 2014, 12:09:28 pm
Oo, a wil builderboy appears! It's been a while!
Nice project ClrDraw, I loved playing Portal Prelude, let's hope this one will be as rocking as it!
Title: Re: Portal 3 - Exile [Alpha]
Post by: DJ Omnimaga on November 28, 2014, 12:10:32 pm
Good update and progress. :)
Title: Re: Portal 3 - Exile [Alpha]
Post by: CKH4 on December 01, 2014, 11:18:33 am
Are you still planning corrective portal gravity? If not I would suggest larger portals to allow for better maneuvering and conserving speed to allow for more challenging levels.

I really like the idea of the smaller portals because they allow for different levels but they require extra work.

Good luck!
Title: Re: Portal 3 - Exile [Alpha]
Post by: Ivoah on December 31, 2015, 12:45:58 am
necro-bump
Any progress on this? I'd love to play through another portal game on my calc :)
Title: Re: Portal 3 - Exile [Alpha]
Post by: TIfanx1999 on December 31, 2015, 11:48:14 am
Based on this post: https://www.omnimaga.org/private-matters/retirement/msg399071/#msg399071 it's dead.
Title: Re: Portal 3 - Exile [Alpha]
Post by: CKH4 on December 31, 2015, 06:14:08 pm
It is dead, I exchanged emails with him. Sad because it looked good. If someone wanted to continue it he might give you the existing source code.
Title: Re: Portal 3 - Exile [Alpha]
Post by: Ivoah on December 31, 2015, 06:24:00 pm
Thanks for the info guys, it's a shame it's dead :(
Title: Re: Portal 3 - Exile [Alpha]
Post by: c4ooo on December 31, 2015, 06:27:30 pm
I dont have any projects and i would not mind a new project, but i bet i would just rewrite everything from scratch after looking at the code for 5 minutes :P 
Title: Re: Portal 3 - Exile [Alpha]
Post by: TIfanx1999 on December 31, 2015, 09:29:19 pm
Yea, I was going to say it might just be easier to start fresh. It isn't always the easiest to use someone else's code.
Title: Re: Portal 3 - Exile [Alpha]
Post by: c4ooo on December 31, 2015, 09:49:10 pm
If he can send it over maybe i will do something with it ^.^
Title: Re: Portal 3 - Exile [Alpha]
Post by: ClrDraw on January 03, 2016, 07:06:23 pm
Hey guys, yup unfortunately Portal is dead. I've moved on to other programming languages and sadly don't have time for calculator coding anymore. I recommend starting from scratch just because my code has become rather large and unoptimized, but I will post it regardless in a few days (I left my calculator at college and am home for the break). It's nice to see the interest in my project.
Title: Re: Portal 3 - Exile [Alpha]
Post by: ClrDraw on January 10, 2016, 11:28:14 pm
The codes not on my calculator or my laptop, there's a chance I still have it but it'll take a while to find it.


Edit: Alas, the source code for Portal 3 is lost. I checked both computers and my calculator and it must've somehow got deleted by accident. Sorry guys.
Title: Re: Portal 3 - Exile [Alpha]
Post by: Dudeman313 on January 11, 2016, 01:10:19 pm
I hope you recover this!  O.O
Title: Re: Portal 3 - Exile [Alpha]
Post by: ClrDraw on August 08, 2016, 01:41:00 am
I HAVE THE CODE!!! I just found out that my mom takes occasional backups of our computer on an external hard drive. I checked to see if the source code for portal was on there and it was  :)


Again, my code runs reeeaaally slow relative to BuilderBoy's, so I recommend starting from scratch. But for all of you who are curious, here you go! Feel free to expand on my code (or completely change it to make your own game) if you want, I don't care.


Portal 3 is attached. All the source code for my other projects is now available on my GitHub (https://github.com/scottmangiapane).
Title: Re: Portal 3 - Exile [Alpha]
Post by: TIfanx1999 on September 03, 2016, 10:02:04 pm
Nice find, maybe someone will make use of it. :)