Author Topic: String Input and Dodging Game  (Read 1918 times)

0 Members and 1 Guest are viewing this topic.

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
String Input and Dodging Game
« on: October 06, 2007, 05:27:00 pm »
At school, I made/finished two small programs in TI-BASIC for the TI-86 (mostly during lunch and before class started) - a dodging game (The Cool Dodging Game) and a string input program.  

The Cool Dodging Game is something I started a while back, but then didn't add collision detection because I decided to work on the C version of it for the TI-89 (which has been completed a while ago and is available to download at ticalc.org).  I recently finished adding collision detection though, and a few other things.  I think it runs kind of fast for being TI-86 TI-BASIC - http://img530.imageshack.us/img530/8247/screenshot0003vu8.gif.

The string input program I made is like the TI-OS's string input routine, except it is slightly slower (it doesn't really make a difference though, unless you are typing like 10 letters per second...), it only allows the characters A-Z, whitespace, and the equals sign, and there are a few other differences.  It does have some advantages, though, such as that the user can choose the row and column to have the user input the text, and that the user can adjust when to have letters wrap to the next line.  http://img75.imageshack.us/img75/2577/screenshot0002si2.gif a screen shot demonstrating text being inputted from a specific row and column, custom line wrapping, and deleting.  I started making the string input program for fun, but I guess it really does have a few (slight) advantages over the TI-OS's routine.

Download: http://bfr.tifreakware.net/INPT.86p http://bfr.tifreakware.net/COOL.86p

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
String Input and Dodging Game
« Reply #1 on: October 06, 2007, 05:40:00 pm »
i like the dudging game, how fast does it run on calc?

Offline bfr

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 819
  • Rating: +4/-0
    • View Profile
    • bfr's website
String Input and Dodging Game
« Reply #2 on: October 06, 2007, 05:45:00 pm »
It still runs pretty fast on-calc, but I think the screen shot makes it look slightly faster than it actually is (probably because it is so flickery).  Trust me, though, there shouldn't be any speed issues at all.  

By the way, sometime, I think I'm going to port this to the TI-83+.

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
String Input and Dodging Game
« Reply #3 on: October 06, 2007, 05:54:00 pm »
you should ^^

Liazon

  • Guest
String Input and Dodging Game
« Reply #4 on: October 07, 2007, 01:54:00 am »
that's cool, shouldn't be too hard