Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Builderboy

Pages: 1 ... 373 374 [375]
5611
TI-BASIC / Re: scripts and code snippets
« on: April 22, 2009, 12:45:41 am »
here is a good one for people trying to fit in all their subprograms into 1 program.

While 0
Lbl A
Disp "This is inside a subprogram
End

For(F,-1,0
If F
Goto A
End


It allows the program execution to jump to any place in the program, and then return back to where it was called.  And it causes no Memory leaks, so your program will not slow down because of it!

You can even use the subprogram inside your code instead of just pasting it at the begining with a While 0 in front of it

Repeat 1
Lbl A
Disp "This will be executed once
Disp "And then again froma subProgram
End

For(F,-1,0
If F
Goto A
End


That way you can have at least one part in your code where it does't need to jump to the subprogram, because everything else is jumping to it!

5612
TI Z80 / Re: Portal 2
« 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.

5613
TI Z80 / Re: Portal 2
« 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

5614
TI Z80 / Re: Portal 2
« 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"

5615
TI-Boy SE - Game Boy Emulator For TI-83+SE/84 / Re: Game Boy Emulator
« on: April 21, 2009, 10:07:30 pm »
wow... that is really amazing.  So by emulate, you mean run directly from the original game files?

5616
TI Z80 / Re: Portal 2
« 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

5617
TI Z80 / Re: Portal 2
« 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.

5618
Other Calculators / Re: How you started programming
« on: April 19, 2009, 10:22:48 pm »
I had seen the program button:
New... wait, whats this? A semicolon!  Ah!! What do I do!?!?!   ...Um X=2?...  Execute.... Done?  Aaahhh! What does this mean!?!?!

Then some time later, I saw a basic trig program in My math book, and finally I knew what it was all about.  I think it helped that I was unaware how to use getKey for a very long time, so I was forced to expand my knowledge of tBasic without expending it on frivolous games ;)

I finally looked up getKey on the internet, and created a slow breakout as my first game.

5619
F-Zero 83+ / Re: F-Zero Progress Thread
« on: April 19, 2009, 10:15:27 pm »
This looks fantastic!  I have been aching to make a racing game in java, but I couldn't come up with a suitable 3D engine.  But, seeing as it can be done on a Calculator, means that it should be more than doable in java.  I look forward to seeing this project finished!

5620
So i had been working on Portal 2 for several weeks, and while this may not sound like a lot, it was quite a large and complicated engine.  I had created most of the levels and was starting to work on the dialog.  Then one fateful day, the two idiots from physics class stole my backpack, took my calculator and did a full memory reset. (Unfortunately they too are programmers, and know how to bypass most security programs)

I wasn't too distraught over this loss, i had written documents to guide me, and i had already created the engine once before, how hard could it be.  (And i invested in the best security program I could find).   So i recreated the engine, better than before.  It took less memory, less variables, was faster, and had more features.  I copied all the levels from the documents I had, and I had gotten even further than I had before.  And then one fateful day... well the same thing happened.  They bypassed my security and deleted all memory.

I too, spent a long while away from my calculator, but I'm back at it, giving it another go, and hopefully this third re-write will be better than both of the previous.
   

5621
TI Z80 / Re: Portal 2
« 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!

5622
TI Z80 / Time Portal
« 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. ;)

5623
Introduce Yourself! / 'sup
« on: April 19, 2009, 06:39:13 pm »
Hi, I'm new here, but I know some of you from TI-Basic developer portal.  Its nice to find a community that's a bit more bent on games than Basic in general  ;).

Pages: 1 ... 373 374 [375]