Maidens of the Kaleidoscope

~Hakurei Shrine~ => Rika and Nitori's Garage Experiments => Topic started by: Lopsidation on October 09, 2009, 08:52:13 PM

Title: TI-89 Danmaku!
Post by: Lopsidation 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.
Title: Re: TI-89 Danmaku!
Post by: Infy♫ on October 10, 2009, 10:33:15 AM
does this also work for the TI-84 plus?
Title: Re: TI-89 Danmaku!
Post by: Lopsidation 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.
Title: Re: TI-89 Danmaku!
Post by: Slowpoke 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?
Title: Re: TI-89 Danmaku!
Post by: Lopsidation 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.
Title: Re: TI-89 Danmaku!
Post by: KomeijiKoishi 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.