ok, so i've been programming in Ti BASIC for about 3-4 years now (throughout high school in math/science class). i will soon be going to college to major in computer information systems. right now, i'm working on a BASIC OS called Panda. i run several web sites, including www.artshack.org, www.bleedgarnet.com, www.thugless.com, and my main site (not really up yet), www.rybomedia.com so yeah, that's pretty much it…im psyched to find this site tho
Welcome to TI|BD! Good luck with writing the shell :-)
Sorry for being late … Welcome to TI-Basic Developer!
When you finish Panda, you should provide a download link, so that we can try it out.
What do you think of the site? Any areas we can improve in?
Hey thanks guys!
I love the site!!! I thought I was alone in my love of TI BASIC programming, but this place feels like home! the site looks great, it's very informative, friendly, etc…
well, i finished the first "complete" version of Panda tonight…thought i'd let everyone know…
you can download it and my game CandyWars at http://rybomedia.com/panda.html
now remember, i programmed it in only a few days and it's completely in BASIC, so it's not mindblowing, but i think it's pretty nifty…let me know what you guys think and any areas i can improve on…
woops my bad, i meant
http://www.rybomedia.com/panda.html
if you click the previous one, you get my old site for some reason…
It looks like a nice program :) The one area you can improve your Panda program is optimization — there are all sorts of things that you can leave off or modify that would make your program smaller and/or faster. For example, here is a piece of the code at the beginning of the program:
:For(A,1,25)
:Text(20,30,"Panda 1.2")
:End
Right off the bat, you can leave off the closing parentheses and qutotes:
:For(A,1,25
:Text(20,30,"Panda 1.2
:End
The next thing you can change is moving the Text( command outside the For( loop. You should always try to keep any invariant code (code that never changes) outside of a loop, and, in this case, the text never changes.
:Text(20,30,"Panda 1.2
:For(A,1,25
:End
The last change you can make to this code is replacing the For( loop with the rand command. Since generating random numbers is a fairly time-consuming operation, the rand(# of numbers) syntax is very effective at generating a delay in your program — the larger the number, the larger the delay.
:Text(20,30,"Panda 1.2
:rand(10
I hope this makes sense. If you have any questions, or need any help with anything, just ask.