Author Topic: prgmHEROGAME  (Read 8988 times)

0 Members and 1 Guest are viewing this topic.

Offline simplethinker

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 695
  • Rating: +16/-5
  • snjwffl
    • View Profile
Re: prgmHEROGAME
« Reply #15 on: March 16, 2009, 02:58:28 pm »
You can almost always replace Lbl/Goto with either some kind of loop or and If:Then:Else statement.  The TI-BASIC Developer is a great resource for BASIC programming.  You should check it out ;D

Yeah it's just better to not use them at all.
Avoid gotos at all cost, save yourself!
On this I must disagree with you guys.  However rare, there are instances where Lbl/Goto is better than the other options.  In Chip's Challenge, calling the engine from another program or embedding the engine within a loop was leading to a 40% decrease in speed (this does not mean a Goto is used while running the game, but after you win/lose I use a Goto to get back to level selection).  When you use a Goto, the BASIC parser starts searching for the corresponding label from the top of the program, meaning in most cases it's significantly slower than a loop.  As long as you use Lbl/Goto carefully and correctly memory errors are easily avoidable (but still, don't use them unless you absolutely have to!).

And welcome to Omnimaga and good luck on your game skuller972  ;D
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true." -- Professor Robert Silensky



Chip's Challenge: ħ%

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: prgmHEROGAME
« Reply #16 on: March 16, 2009, 08:08:48 pm »
i have completed the intro and have a concept for the stats and stuff

EDIT:
I am changing it from a medeival kind of game to aspace kind
« Last Edit: March 16, 2009, 08:30:11 pm by skuller972 »
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: prgmHEROGAME
« Reply #17 on: March 16, 2009, 08:54:40 pm »
Nice. Can't wait to see how this turns out.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Re: prgmHEROGAME
« Reply #18 on: March 16, 2009, 09:37:10 pm »
It sounds like something nice, hope to see more progress soon!

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: prgmHEROGAME
« Reply #19 on: March 17, 2009, 08:29:46 pm »
ok i made a pretty durable subrogram that outputs wordwrap text using instring for backslashes and also has a pause feature that says "pressenter" and flickers and this takes the previousmans for the string so it works in more programs than one
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: prgmHEROGAME
« Reply #20 on: March 18, 2009, 02:16:57 am »
I assume you mean for convos with NPCs, rigth?

Offline trevmeister66

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1009
  • Rating: +14/-5
    • View Profile
Re: prgmHEROGAME
« Reply #21 on: March 18, 2009, 11:53:15 am »
Nice. It's always good to come up with quick/easy ways to do something that would normally take a lot of space up.
Projects:    nameless RPG: 1.0%  |  Reverse Snake v1.5: 100%  |  Secret Project: 5%  |  DUNGEON: 70%

My MW2 Blog <-- Please visit :)

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: prgmHEROGAME
« Reply #22 on: March 18, 2009, 07:03:30 pm »
yeah and it means that you can customize the program to fit your needs. i might even make like a editing guide which defines all of the variables and whatnot
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: prgmHEROGAME
« Reply #23 on: March 28, 2009, 11:58:52 am »
sorry everyone, project scrapped. stupid lunarIDE deleted all ram and a few archive things... then when i downloaded omnicalc to get a ram recovery, it garbage collected..
fuck
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline noahbaby94

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 585
  • Rating: +29/-24
    • View Profile
    • My blog
Re: prgmHEROGAME
« Reply #24 on: March 28, 2009, 12:35:43 pm »
Don't use omnicalc for ram recoveries use groups frequently to make temp back-ups then use ti-connect to make perm back-ups.
This is something that can happen if you rely on groups too much though.
http://ourl.ca/3225
That's what she said!!!

Offline skuller972

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 335
  • Rating: +11/-4
  • BEAST MODE
    • View Profile
Re: prgmHEROGAME
« Reply #25 on: March 28, 2009, 12:43:39 pm »
oh thanx but still it is scrapped
Then again, maybe not...
<a href="http://www.nerdtests.com/ft_nt2.php">
<img src="http://www.nerdtests.com/images/badge/nt2/bc7bf8e12353f09e.png" alt="NerdTests.com says I'm a Cool Non-Nerd.  Click here to take the Nerd Test, get nerdy images and jokes, and talk to others on the nerd forum!">
</a>

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: prgmHEROGAME
« Reply #26 on: March 28, 2009, 06:53:21 pm »
Aw this sucks, I hate when this happens. In the future, make sure to back up frequently, because we never know what may happen. I give this advice for both BASIC and ASM, pure or not. Some people might not know but it's possible to get a memory loss with no ASM code, even with fresh new batteries and not pulling them out while game is running. Thanks to some TI-OS bugs

With my current project, for now I am on the process to switch to a differen ASM program because it messes up with grouping functions and the game crashes after I did group backup.

I do hope you start a new game soon, though
Don't use omnicalc for ram recoveries use groups frequently to make temp back-ups then use ti-connect to make perm back-ups.
This is something that can happen if you rely on groups too much though.
http://ourl.ca/3225
Yeah this is what killed Illusiat 2002, when it was 70% complete and taking 59 KB of memory. I think i was about to finish chapter 3 (out of 5).

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Re: prgmHEROGAME
« Reply #27 on: March 31, 2009, 12:43:11 am »
We should make a list of times/programs deleted due to not backing up..It would be huge! I just hope people will be able to learn from others..

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: prgmHEROGAME
« Reply #28 on: March 31, 2009, 03:21:40 am »
We should make a list of times/programs deleted due to not backing up..It would be huge!

Offline kalan_vod

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2715
  • Rating: +10/-0
    • View Profile
    • kalanrock.us
Re: prgmHEROGAME
« Reply #29 on: March 31, 2009, 05:01:44 pm »
Lol, good ole times! (DBZ)