Author Topic: TI-89 Danmaku!  (Read 4449 times)

Lopsidation

  • Exploring the Twin Labyrinths
  • Be light of heart;
TI-89 Danmaku!
« on: October 09, 2009, 08:52:13 PM »
Is school boring? Do you want to practice dodging instead of listening to your History teacher?

Then type this into a new program on your calculator:

Code: [Select]
Disp "ENTER COLUMNS"
Prompt W
Disp "ENTER DIFFICULTY"
Disp "0 IS HIGHEST"
Prompt V
Lbl 1
1→B
1→C
1→D
1→E
1→F
1→G
int(W/2)→P
1→A
Lbl 0
ClrHome
getKey→M
If M=82
max(1,P-1)→P
If M=83
min(W, P+1)→P
F→G
E→F
D→E
C→D
B→C
A→B
randInt(1,7)→A
Output(2,A,1)
Output(3,B,1)
Output(4,C,1)
Output(5,D,1)
Output(6,E,1)
Output(7,F,1)
Output(8,G,1)
Output(8,P,8)
If P=G
Goto 7
0→Z
Lbl 6
1+Z→Z
If Z>V
Goto 0
Goto 6
Lbl 7
Disp "YOU LOSE."
Disp "PRESS ENTER"
Lbl 8
getKey→M
If M=105
Goto 1
Goto 8

Gameplay: You're the 8 at the bottom. Use the 4 and 5 keys to dodge the falling 1's.

If you want it to be 'nightmare' difficulty, take out the part near the beginning that says:

Code: [Select]
Disp "ENTER DIFFICULTY"
Disp "0 IS HIGHEST"
Prompt V

and the part at the end that says:

Code: [Select]
0→Z
Lbl 6
1+Z→Z
If Z>V

If you are crazy, then:
Code: [Select]
F→G
E→F
D→E
reverse these three lines.

Unfortunately, attempts at more complex danmaku slowed down my calculator tenfold.

Of course, this isn't a complete 6-stage game or anything, just a small diversion. Rika's Garage seemed like the best place to put it.
« Last Edit: October 10, 2009, 11:05:42 PM by Lopsidation »
"Happiness is like a cat, If you try to coax it or call it, it will avoid you; it will never come. But if you pay no attention to it and go about your business, you'll find it rubbing against your legs and jumping into your lap."

Infy♫

  • Demonic★Moe
  • *
Re: TI-89 Danmaku!
« Reply #1 on: October 10, 2009, 10:33:15 AM »
does this also work for the TI-84 plus?

Lopsidation

  • Exploring the Twin Labyrinths
  • Be light of heart;
Re: TI-89 Danmaku!
« Reply #2 on: October 10, 2009, 05:47:17 PM »
It should, yes. It should work for anything in the TI series, I think they're all programmed the same way.
"Happiness is like a cat, If you try to coax it or call it, it will avoid you; it will never come. But if you pay no attention to it and go about your business, you'll find it rubbing against your legs and jumping into your lap."

Slowpoke

  • Media Analyst
Re: TI-89 Danmaku!
« Reply #3 on: October 10, 2009, 07:39:44 PM »
I'm trying this on a TI-86 from 2005.

Syntax error. By -> do you mean →? My calculator doesn't seem to have an arrow in the catalog. And should I put in the spaces before and after those?
« Last Edit: October 10, 2009, 08:41:50 PM by Slowpoke »

Lopsidation

  • Exploring the Twin Labyrinths
  • Be light of heart;
Re: TI-89 Danmaku!
« Reply #4 on: October 10, 2009, 11:04:22 PM »
Yeah, I meant →, and no, don't put in spaces.
Sorry, I'll update the first post with these cute little arrows now.
EDIT: Updated.
It should be fine now. *crosses fingers*
MORE EDIT: Oh, and to put in an arrow, press the STO→ button. It's right above the ON button on my calculator.
« Last Edit: October 10, 2009, 11:08:20 PM by Lopsidation »
"Happiness is like a cat, If you try to coax it or call it, it will avoid you; it will never come. But if you pay no attention to it and go about your business, you'll find it rubbing against your legs and jumping into your lap."

KomeijiKoishi

Re: TI-89 Danmaku!
« Reply #5 on: October 12, 2009, 12:50:20 PM »
When you're already talking about graphic calculators:
I'm trying to connect my TI-84 Plus to my PC (XP Service Pack 3 BTW) with the USB connecter we got with the calculator to upload some games, but Windows asked me for a driver - which I haven't got at school. TI Connect only searches COM1, but I only can plug it into USB.
How?

EDIT: Found already out that Windows likes it the complicated way and I had to install the INTERN driver of the calculator by using the option for advanced users.
« Last Edit: October 12, 2009, 12:53:17 PM by VideoGameCrack »