Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Builderboy on April 19, 2009, 06:50:07 pm

Title: Time Portal
Post by: Builderboy on April 19, 2009, 06:50:07 pm
From those of you that know me from Ti-Basic developer, you probably remember my Portal game.

http://tibasicdev.wikidot.com/archives:portal

It seems to be my most successful game and has gotten rave review from all those who downloaded it.  Either way, I am making the sequel, Portal 2, Time Portal.

The story takes place before the events of Portal 1, even before GLaDOS was ever hooked up.  You have normal people guiding you through the tests and everything seems fine.  The game play will be different though, instead of portals that take you through space, you will have a device that moves you through time.  Then you will need to collaborate with previous versions of yourself to solve puzzles.

For example, there might be a button that you stand on to open a door, but when you step off of it, the door closes.  What do you do?  Step on the button, and then travel back in time.  You will see the previouse version of yourself step on the button, and then you can walk through the door.  

This concept can be expanded indefinitely (Within reason) so you might have up to 5 versions of yourself on the screen at any given time.  I will try to gt a screen shot up as soon as i can, as i have the time travel engine up and running.


It might be worthy to note that I had this game almost finished twice already.  I had completed the engine and most of the levels, and was working on the story.  Then two idiots at school stole my Calculator and erased all of m memory...   twice...
So this is the third time creating it.  My only consolidation is that now I have a greater understanding of the code, and when you re-write a game, generaly you re-write it a lot better. ;)
Title: Re: Portal 2
Post by: noahbaby94 on April 19, 2009, 07:09:10 pm
This looks really cool portal one stayed on my calc longer than mario.
Title: Re: Portal 2
Post by: simplethinker on April 19, 2009, 07:44:32 pm
Sounds great ;D

Quote
It might be worthy to note that I had this game almost finished twice already.  I had completed the engine and most of the levels, and was working on the story.  Then two idiots at school stole my Calculator and erased all of m memory...   twice...
So this is the third time creating it.  My only consolidation is that now I have a greater understanding of the code, and when you re-write a game, generaly you re-write it a lot better. Wink
You might want to back up your calculator every now and then ;)
Title: Re: Portal 2
Post by: noahbaby94 on April 19, 2009, 07:46:20 pm
even with groups.
Title: Re: Portal 2
Post by: Builderboy on April 19, 2009, 07:56:34 pm
I did have it backed up in groups, but they erased everything...  Oh well.  I wrote down all the level designs i had come up with, so at least i don't have to recreate that!
Title: Re: Portal 2
Post by: noahbaby94 on April 19, 2009, 07:58:23 pm
Bummer I guess you will just have to use a computer to backup with.
Title: Re: Portal 2
Post by: DJ Omnimaga on April 19, 2009, 08:02:06 pm
Yeah I got horror stories about file deletion from 2002 with one of my RPG project. Even the archive=gone. Now I always backup on a second calculator (my TI-Nspire) when I don't feel like doing it on the PC.

As for Portal 83+ I didn't played it yet but I think I should try it at one point because it seems pretty interesting. The graphics reminds me N-Game too. Glad you are doing a sequel :)
Title: Re: Portal 2
Post by: simplethinker on April 19, 2009, 08:17:16 pm
Ya know, I'm starting to like that idea (Kalan's maybe?) for a thread to keep a running count of projects lost due to clears (RAM or otherwise).  "Real Life Nightmares:  The stories of what could have been, but will never be" :o
Title: Re: Portal 2
Post by: DJ Omnimaga on April 19, 2009, 08:20:37 pm
lol they would be countless.
Title: Re: Portal 2
Post by: calc84maniac on April 19, 2009, 08:22:39 pm
Yeah, for example, the original Project M which I was coding oncalc. :P
Title: Re: Portal 2
Post by: noahbaby94 on April 19, 2009, 08:23:42 pm
You guys would of had oot at full speed in basic but sadly a ram clear occurred.
Title: Re: Portal 2
Post by: simplethinker on April 19, 2009, 08:35:00 pm
I couldn't resist (http://ourl.ca/3296.new#new).
Title: Re: Portal 2
Post by: kalan_vod on April 21, 2009, 02:01:07 pm
Sounds nice, are you going to make this in pure basic again or will this be with a use of a Lib? Either way I know it will turn out great, I loved the first one!
Title: Re: Portal 2
Post by: Builderboy on April 21, 2009, 08:12:34 pm
Yeah, its going to be in Pure Basic again.  I write all my games in pure basic (Except Trapped, but that only uses Celtic2 for the appvar save).  I just find it appealing to have the entire game wrapped up into 1 program.
Title: Re: Portal 2
Post by: DJ Omnimaga on April 21, 2009, 09:08:56 pm
Yeah I think for such games it's good if it's in one program, providing you don't have a lot of repetitive code and don't use Gotos inside conditions/loops, because usually, with small games people have many installed on their calc and it gets hard to remember which sub-program is for what game. For RPGs it's another story though, because most good RPGs have to be split into multiple programs to fit in RAM (load of code used several times in the entire game). IMHO I don't judge a game based solely on the file size and amount of sub-routines, though, because it's stupid, you risk of missing out a whole lot and it's pretty much like hating someone becuse of his skin color or religion. So even if the game had 50 programs I would still play it, altough I don't recommend going above 50, because the VAT then gets bloated and game tends to run slower as you add sub-routines. I personally find it quite offensive when somebody judge one of my game just based on that , because usually they are the ones I spent the largest amount of work on.

I'm not recommending anyone to not worry about their game file size when coding (better optimize what as much as you can), I'm simply talking about people who can't see further than a game filesize/amount of sub-programs x.x http://omnimaga.unitedti.org/metroidmap.gif

Title: Re: Portal 2
Post by: Builderboy on April 21, 2009, 10:05:55 pm
Very true, although using goto's inside of a for loop is one of the most useful thing i have encountered, as it allows for subroutines inside a basic program that automatically jump back to the place they were called.

Unfortunately I have met many people that won't download any game that has more than one program to it. :(
All we can do is compile them into One when we can and don't when we can't
Title: Re: Portal 2
Post by: DJ Omnimaga on April 21, 2009, 10:19:23 pm
well my gripe with using goto inside a for( loop is that it causes the game to slow down everytime you do it and causes a memory leak, ending up with an ERR:MEMORY. However, I think using return removes the entire memory leak.

As for games with multiple programs, yeah it sucks because these people misses some good games and the programmers who spent an hard work on huge rpgs are discouraged even more. I downloaded a lot of small RPGs before and they were usually very short or menu-based

I doubt this would have fit into 24 KB of RAM in its current state
&fmt=18 (altough if in 2004 my coding skills were as good as right now and if I had something that mimics xLIB Real(10 function, I would have got at least 60% less sub-routines)
Title: Re: Portal 2
Post by: Builderboy on April 21, 2009, 10:31:47 pm
Well it doesn't if you use it this way

Goto ST

Lb SB
Disp "This is inside a subroutine
End

Lbl ST

For(F,1,0
If not(F
Goto SB
End


It collects the end after it executes the subroutine and then jumps back to the beginning of the for loop automatically, thinking it just reached the end of the for loop.  No memory leaks!  ;D

And about that game...  :o that is one of the most amazing and unbelivable things I have ever seen!
"Goes off to find game to download"
Title: Re: Portal 2
Post by: noahbaby94 on April 21, 2009, 10:32:57 pm
You could also use.
Code: [Select]
:While 0
:lbl 1
:End
Title: Re: Portal 2
Post by: Builderboy on April 21, 2009, 10:40:16 pm
True, but that doesn't really change what I was saying

While 0
Disp "This is inside a subroutine
End

For(F,1,0
If not(F
Goto SB
End


Whatever, same diff
Title: Re: Portal 2
Post by: DJ Omnimaga on April 21, 2009, 10:42:39 pm
wait I didn't knew that o.o I need to try out at some point..., that's a good thing to know if I am ever stuck using lbl/gotos. Does it works on every calc OS?

Anyway i hope you finish portal 2 ^^
Title: Re: Portal 2
Post by: Builderboy on April 21, 2009, 10:52:41 pm
I believe it does, but if it didn't, that might just mean that memory leaks would go away! :)

And yeah... we seem to have gotten off topic... whoops.
Title: Re: Portal 2
Post by: Builderboy on April 23, 2009, 09:01:50 pm
Alright, so I have finished the time travel engine.  It uses all 6 built in lists and is expandable to accommodate an unlimited amount of time traveling (Although it will be limited in the game for difficulty reasons).  I now need to work on the most difficult part, the buttons.

Buttons have the ability to change certain tiles and can be activated in several ways:
1: Only when you stand on them
2: Whenever after you stand on them
3: Change to something besides original when you get off of them

Buttons will also be able to reveal other buttons, so this will need to be taken account for.  This is actually more than I originally programed in the previous versions, but I have an idea that should make it all work.  I will post a screenshot as soon as I can get Flash Debugger to work.
Title: Re: Portal 2
Post by: DJ Omnimaga on April 23, 2009, 10:49:41 pm
interesting, I can't wait for the screenshot :)

Did you tried WabbitEmu by the way?
Title: Re: Portal 2
Post by: Builderboy on April 23, 2009, 11:24:53 pm
It only works for some programs, but not all, and not Portal2.  It always says that the link has timed out, whatever that means.  Right now i am trying the Ti Flash Debugger coupled with CalcCapture
Title: Re: Portal 2
Post by: calc84maniac on April 23, 2009, 11:41:28 pm
It only works for some programs, but not all, and not Portal2.  It always says that the link has timed out, whatever that means.  Right now i am trying the Ti Flash Debugger coupled with CalcCapture
Sometimes when that happens, I try to Reset All Memory. Then files will send again. Then again, my ROM is sort of messed-up, anyway... :P
Title: Re: Portal 2
Post by: DJ Omnimaga on April 24, 2009, 03:34:56 am
Mhmm, could it be that you use some tokens only present on OS 1.15 and later but use an older ROM on the emulator? This is the same error I get when I try to send Illusiat 13 to an older ROM (since Illusiat 13 uses such ASCII characters)
Title: Re: Portal 2
Post by: Builderboy on April 24, 2009, 10:19:27 am
Hmmm, I didn't think so but maybe that is the case.  Either way, I like TI Flash Debugger better.
Title: Re: Portal 2
Post by: trevmeister66 on April 24, 2009, 10:45:03 am
Yeah older ROM's won't accept certain characters...I had that problem before, and had to update my ROM.
Title: Re: Portal 2
Post by: DJ Omnimaga on April 24, 2009, 08:37:19 pm
I like Wabbitemu since I doN,t have any linking trouble and can send multiple files at once without any error, but I hate how it doesn,t support group files and consequently, hacked pic files. But PTI won't accept files with the Archive flag enabled and it has no keypad
Title: Re: Portal 2
Post by: Builderboy on April 26, 2009, 08:20:56 pm
Alright, here are some screenshots.

This is demonstrating the super special awesome button system
(http://s199.photobucket.com/albums/aa72/builderboy2005/th_SCREENSHOT.gif)

This is demonstrating the time travel system.  You can time travel at any point, even if you are on a button.
AND if another you presses a button that puts a block ontop of you, it kills you.  Thats what happens at the end.
(http://s199.photobucket.com/albums/aa72/builderboy2005/th_SCREENSHOT2.gif)
Title: Re: Portal 2
Post by: noahbaby94 on April 26, 2009, 08:23:47 pm
Nice a little flickery though but really nice.
Title: Re: Portal 2
Post by: Builderboy on April 26, 2009, 08:30:27 pm
Its a lot smoother on-Calc.  CalcCapture has the knack of capturing a frame just at the wrong moment
Title: Re: Portal 2
Post by: noahbaby94 on April 26, 2009, 08:31:33 pm
Use wabbit it has awesome recording abilities.
Title: Re: Portal 2
Post by: Builderboy on April 26, 2009, 08:32:47 pm
It only works for some programs, but not all, and not Portal2.  It always says that the link has timed out, whatever that means.  Right now i am trying the Ti Flash Debugger coupled with CalcCapture

 :-\
Title: Re: Portal 2
Post by: noahbaby94 on April 26, 2009, 08:39:17 pm
What os version are you using?
Title: Re: Portal 2
Post by: Builderboy on April 26, 2009, 08:41:58 pm
Not sure, I believe the most recent.  I downloaded it a couple months back
Title: Re: Portal 2
Post by: DJ Omnimaga on April 27, 2009, 02:53:53 am
strange, maybe you should report this bug to Spencer on Revsoft? I never had this problem unless I tried to send files with weird characters such as Illusiat 13, Pokémon Purple on OS under 1.15 or hacked pics. Else maybe it could be something on your computer or something you are doing wrong when sending the files.


Nice project so far, by the way :)
Title: Re: Portal 2
Post by: Builderboy on April 27, 2009, 07:47:54 pm
Maybe there is a mysterious illigal character floating around somewhere
"shifty eyes"

Let me try again...
"Goes to check"
Title: Re: Portal 2
Post by: Builderboy on April 27, 2009, 07:48:47 pm
"comes back"
Hmmm, it works alright now, and I don't think I did anything differently. :(
Oh well, if it works, I'm happy.
Title: Re: Portal 2
Post by: DJ Omnimaga on April 27, 2009, 08:14:28 pm
that's good. Sometiems some softwares seems to randomly stop working for no reason. In my case, TI Connect. SOmetimes it's conflicts between the actual program and other stuff installed on your PC
Title: Re: Portal 2
Post by: Ti-newb on May 31, 2009, 11:08:30 am
where can i get the Portal Games?
Title: Re: Portal 2
Post by: Builderboy on May 31, 2009, 12:00:45 pm
There's a link to the only released Portal game in the first post
Title: Re: Portal 2
Post by: Ti-newb on May 31, 2009, 01:21:30 pm
tyvm XD
Title: Re: Portal 2
Post by: Eeems on June 02, 2009, 11:20:20 am
Do you think you will be done enough to enter some of it into UnSS, it is over in only a few days
Title: Re: Portal 2
Post by: Builderboy on June 02, 2009, 01:33:20 pm
No, its not very close, and i have been working on a lot of other things lately.  I will be submitting a different puzzler for the UnSS contest, titles Orbix :)
Title: Re: Portal 2
Post by: Eeems on June 02, 2009, 06:03:04 pm
ah, ok, well I can't wait to see it, and btw don't forget to get it in before wednesday
Title: Re: Portal 2
Post by: Geekboy1011 on May 10, 2011, 11:54:07 pm

ARISE FROM THE DEAD YE PORTAL 2 AND TRAVEL THREW TIME ONCE AGAIN


Reply #46 on: June 02, 2009, 06:03:04 PM

dam just shy of 2 years as well its 23 days off >.> <.<
Title: Re: Portal 2
Post by: DJ Omnimaga on May 10, 2011, 11:55:55 pm
You bumped the wrong thread O.O (unless you really meant this one and not the Axe one?)
Title: Re: Time Portal
Post by: Geekboy1011 on May 11, 2011, 02:55:32 pm
No i totally meant this one he kinda just had it drop off the face of the earth which saddened me although the circumstances were acceptable IMO :P

apparently i started a revival though (YAY IRC)
Title: Re: Time Portal
Post by: DJ Omnimaga on May 11, 2011, 03:10:58 pm
Nice :D.
Title: Re: Time Portal
Post by: ztrumpet on May 11, 2011, 08:23:20 pm
Pleasepleasepleaseplease arise from the dead!  This is the reason I found Omnimaga in the first place, plus it's a wonderful concept that deserves to be finished.
Title: Re: Time Portal
Post by: Geekboy1011 on September 13, 2011, 05:08:21 pm
Well i started mucking with this again and uh builderboy check your sources the one you sent me in private is way father ahead than the one you publicly released in your returning pos

so much farther ahead that the level editor is functional
buttons work right
and a few other things

which do not work in what you released >.<

if you want i can find the zip you sent me and post it for now i need to fix the few bugs left in the level editor ^_^ (which are not many from what i can see it should be spiffied up though its kinda  boring :P) \0/


Clarified on irc lolol

Title: Re: Time Portal
Post by: Geekboy1011 on September 14, 2011, 12:25:19 am
Things to do: in order of importance and how much i care

Add in Time travel limiting
Add in new tiles
Make level designer more flashy

story line Thinger

Fancy title screen and wrapping it all together in a nice shiny package


sounds good. i think so lets see how long this takes to get done wheeeeeeee

Title: Re: Time Portal
Post by: willrandship on September 14, 2011, 12:40:31 am
Lol at the storyline afterthought :P You win for making me think of a good way to include storyline in my own project!
Title: Re: Time Portal
Post by: Geekboy1011 on September 14, 2011, 01:02:24 am
lol thanks! yeah i suck at story lines i meant to nag Builder for his notes on his story (POKE!!)

if any one wants to write a story let me know ill gladly take help once i get to that part :P right now its code deciphering xD
Title: Re: Time Portal
Post by: willrandship on September 14, 2011, 01:21:15 am
My trouble lied in the fact that I'm trying to keep my game engine very simple, meaning I didn't really want to have to code the dialogue into the actual map. I'm thinking of making it more of a dungeon crawl, So I'll probably have storyline between levels. That way it can be a separate subroutine.

I'd be glad to help once you're ready.
Title: Re: Time Portal
Post by: Geekboy1011 on September 14, 2011, 11:01:00 am
My trouble lied in the fact that I'm trying to keep my game engine very simple, meaning I didn't really want to have to code the dialogue into the actual map. I'm thinking of making it more of a dungeon crawl, So I'll probably have storyline between levels. That way it can be a separate subroutine.

I'd be glad to help once you're ready.

Thats exactly how this is going to work :P