Author Topic: TI-Basic Game Design Tutorial Now Available for Commentary  (Read 16932 times)

0 Members and 1 Guest are viewing this topic.

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: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #15 on: June 24, 2010, 01:57:51 am »
I'm not sure what you mean. The code I posted was actually causing a memory leak. http://tibasicdev.wikidot.com/goto

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #16 on: June 24, 2010, 02:13:22 am »
Well, I mean similar to this:

PrgmA

:While 1
:PrgmA
:End

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: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #17 on: June 24, 2010, 02:17:30 am »
That can cause a similar memory leak. It is because the memory is not free'ed up by exiting the loop, because the End instruction is never reached
« Last Edit: June 24, 2010, 02:17:58 am by DJ Omnimaga »

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #18 on: June 24, 2010, 03:27:17 am »
That will produce an error even without the While loop.  Since the program calls itself, it goes on forever and you eventually run out of memory.

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: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #19 on: June 24, 2010, 03:56:27 am »
If you have prgmA for example and all there is in the code is prgmA, the memory error even happens within the first second or so x.x

On the TI-81 there was protection against calling programs from themselves. It wouldn't let you do it at all. As for Lbls/Gotos, no mem leak could occur either since While/Repeat/For/Then/Else didn't exist back then :P

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #20 on: June 25, 2010, 12:53:24 am »
Ok. I am currently working with a friend on taking all suggestions and finishing the thing. I'm aiming for a Full tutorial, in form Beta Version 2.0 to be released by July 5, 2010, plus or minus a day or two.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #21 on: June 25, 2010, 12:59:30 am »
I've been reading through and i really like the work you've put in so far :) I just wanted to point out that a game doesn't necessarily have to have AI in order to be a game, you can have a game without an opponent.

Offline Mighty Moose

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 141
  • Rating: +4/-0
    • View Profile
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #22 on: June 25, 2010, 03:33:03 pm »
Quote
Valid label specifications may be from 1 to 99 and from A to ZZ.

I know this is being nitpicky, but can't you use _theta_?
Cheers!
I beta test, so...yeah.  PM me if you want me to test anything :D.

Almost only counts in horseshoes and handgrenades.

Cogito ergo sum.

Calcs:
TI-84+, OS 2.43, Boot Code 1.02, 128k RAM
TI-84+SE VSC, OS 2.43, Boot Code 1.00, 128k RAM  (I'm spoiled :P)
TI-81, OS 1.6K (only borrowed)
Casio fx-CG10 (Prizm), OS 01.04.0200
TI-Nspire Clickpad, OS 1.4
TI-Nspire Clickpad, OS 3.1.0.392
TI-Nspire CAS Clickpad, OS 1.6.10110 (!?) now OS 3.1.0.392

Offline calcdude84se

  • Needs Motivation
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2272
  • Rating: +78/-13
  • Wondering where their free time went...
    • View Profile
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #23 on: June 25, 2010, 03:39:52 pm »
You can also mix numbers and letters, e.g. 3Z, D8. 0 and 00, not to mention 01 to 09, are also valid.
Yeah, it's way too easy to nitpick. Probably a better description is "Valid label specifications are one or two letters, numbers, or both" (and theta is a letter)
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler For "PartesOS links":
I'll put it online when it does something.

Offline Mighty Moose

  • LV4 Regular (Next: 200)
  • ****
  • Posts: 141
  • Rating: +4/-0
    • View Profile
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #24 on: June 25, 2010, 04:13:48 pm »
Quote
There are several commands that can be used to create a rock-solid gaming interface. These commands are Input, Prompt, and getKey.

Again, I'm being nitpicky, but it could be more concise.  Something like "There are three commands that can be used to create a rock-solid gaming interface: Input, Prompt, and getKey." would be better.
Cheers!
I beta test, so...yeah.  PM me if you want me to test anything :D.

Almost only counts in horseshoes and handgrenades.

Cogito ergo sum.

Calcs:
TI-84+, OS 2.43, Boot Code 1.02, 128k RAM
TI-84+SE VSC, OS 2.43, Boot Code 1.00, 128k RAM  (I'm spoiled :P)
TI-81, OS 1.6K (only borrowed)
Casio fx-CG10 (Prizm), OS 01.04.0200
TI-Nspire Clickpad, OS 1.4
TI-Nspire Clickpad, OS 3.1.0.392
TI-Nspire CAS Clickpad, OS 1.6.10110 (!?) now OS 3.1.0.392

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #25 on: June 25, 2010, 05:18:39 pm »
Quote
Valid label specifications may be from 1 to 99 and from A to ZZ.

I know this is being nitpicky, but can't you use _theta_?

Umm. Good question. Can u. I never got that high, as I started in order.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #26 on: June 25, 2010, 05:19:42 pm »
Quote
Valid label specifications may be from 1 to 99 and from A to ZZ.

I know this is being nitpicky, but can't you use _theta_?

Umm. Good question. Can u. I never got that high, as I started in order.
You can use theta. :)

Offline FinaleTI

  • Believe in the pony that believes in you!
  • CoT Emeritus
  • LV10 31337 u53r (Next: 2000)
  • *
  • Posts: 1830
  • Rating: +121/-2
  • Believe in the pony that believes in you!
    • View Profile
    • dmuckerman.tumblr.com
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #27 on: June 25, 2010, 05:55:21 pm »
You can also combine numbers and letters.


Spoiler For Projects:

My projects haven't been worked on in a while, so they're all on hiatus for the time being. I do hope to eventually return to them in some form or another...

Spoiler For Pokemon TI:
Axe port of Pokemon Red/Blue to the 83+/84+ family. On hold.

Spoiler For Nostalgia:
My big personal project, an original RPG about dimensional travel and a few heroes tasked with saving the world.
Coding-wise, on hold, but I am re-working the story.

Spoiler For Finale's Super Insane Tunnel Pack of Doom:
I will be combining Blur and Collision Course into a single gamepack. On hold.

Spoiler For Nostalgia Origins: Sky's Story:
Prequel to Nostalgia. On hold, especially while the story is re-worked.

Offline ACagliano

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 919
  • Rating: +32/-2
    • View Profile
    • ClrHome Productions
Re: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #28 on: June 26, 2010, 11:19:47 pm »
I am aware that you can. Thank you all. I look forward to providing you with a second beta on schedule.

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: TI-Basic Game Design Tutorial Now Available for Commentary
« Reply #29 on: June 27, 2010, 12:41:56 am »
Cool ^^

Will it have more stuff added to it too?