I entered this program manually into my TI-83+ calculator and I think it's not working. When I load the program, it fills the screen halfway, then stops. I can't move the "helicopter". Can someone help me out?
http://tibasicdev.wikidot.com/fly-the-copter
|
We're glad you came by, but you might find what you're looking for elsewhere. TI-Basic Developer is not the site it once was. While its information on commands and other calculator features remains almost second-to-none, its forum, archives, and even hosting service, Wikidot, have been decaying for years. The calculator community would love to see what you're working on, or help you in your next coding adventure, but TI-Basic Developer is no longer the place to do it. Instead, you should head over to Cemetech (primarily American) or TI-Planet (primarily international). Both are active, well-established forums with their own archives, chatrooms, reference material, and abundant coding tools and resources. We'll see you there, we hope. |
I had the same error before, but I had found the error. Make sure your program has theta where it should, and all of the E's are actually the EE button, not variable names.

~Timothy
Timothy Foster - @tfAuroratide
Auroratide.com - Go here if you're nerdy like me
I don't understand this, though. I still have the problem…. Every time I play, none of the keys do anything, except for Clear, which stops the helicopter from moving, blinks the last pixel of the helicopter for a few seconds, and then displays my score; and Enter, which pauses.
When my helicopter hits the bottom, I am presented with ERR: DOMAIN, but I can't seem to recreate the error; now the thing just stops moving, even when I don't hit Clear.
Are ALL of the E's the EE button, or just the E9 part? I can't see how getKey->E would work if you were using the EE key, so there must be an E variable, right?
OK, I seemed to have missed a line. Now, what it does is:
I start the game. About the first two-thirds of the screen gets black vertical lines and my helicopter doesn't react to any keys. It hits the ground and my score is displayed. I have thoroughly checked my θ symbols as well as instances of E. If I'm correct, "E9" is the only instance of the program that utilizes the EE button, correct? I don't see any other errors!
I wouldn't know how to help unless I saw what you typed in.
The alternative is just downloading the game.
Timothy Foster - @tfAuroratide
Auroratide.com - Go here if you're nerdy like me
I've triple-checked. It's exactly this:
:FnOff
:ClrHome
:ClrDraw
:GridOff
:AxesOff
:PlotsOff
:0→Xmin:1→∆X
:0→Ymin:1→∆Y
:20→G
:For(X,0,47
:Vertical X
:Line(X,Ans,X,Ans+G,0
:Ans+randInt(-(Ans>2),Ans<53-G
:End
:Ans→X:-1→A
:31→B:.2→F
:For(θ,0,E9
:Text(0,0,θ
:If not(fPart(A/3
:Pt-Off(C,D
:Pt-On(A,B
:A→C:B→D
:getKey→E
:F-.1+.3(Ans=21→F
:B+Ans→B
:(A+1)(A≠Xmax→A
:G-.5not(Ans→G
:A+47-95(A>47
:Pt-On(Ans,X+randG,1+not(fPart(θ/32
:Vertical Ans
:Line(Ans,X,Ans,X+G,0
:X+randInt(-(X>2),X<53-G→X
:G-not(A→G
:If E=105:Pause
:If not(E=45 or pxl-Test(Ymax-round(B,0),A
:End
:For(C,1,9
:Pt-Change(A,B
:rand(20
:End
:ClrHome
:ClrDraw
:Disp "Distance:
:Output(1,10,θ
into my TI-83 Plus. The "E9" is an exponent E.
I see… the helicopter isn't reacting to the keys…
Press the 2nd button during the game. The helicopter only goes up if the 2nd button is repeatedly pressed. That might be the problem.
Timothy Foster - @tfAuroratide
Auroratide.com - Go here if you're nerdy like me
what do i do when it says "Xmin" it makes no sence… well i am posting this in 2020 so i probably won't get much help…
"Xmin", "Ymin", "∆X", and "∆Y" are all window variables. To type them in, press the "VARS" button, select "Window…", and then select the thing you are looking for.
If you can't get the game to work, you are probably typing in something wrong. I recommend checking out CalcNerd's Youtube channel. He posts video tutorials showing how to type in games.
https://www.youtube.com/c/CalcNerd/videos