You have not uploaded your program! Please edit the page to upload your program.
|
|||||||||||||||
This is a remake of the previously uploaded game Flappy Bird which features a more intuitive design which allows users to change the speed, and makes the input easier. The code was completely rewritten, and has been tested. It now appears to be bug-free. If it does not work when you enter it into your calculator, make sure you have entered everything correctly! This code has been proven to work by either the download or the source code. To change the speed, change the first line of the program. A lower number stored into D will make the program faster, higher numbers will make it slower. D must be at least 1. Source Code:1
|
What the community thinks:
Nice work Trenly! This has been needing fixing for quite a while, so great job! :)
EDIT: Might I suggest that you use ">" instead of "►"? I feel like newbies won't know that it's not obtainable without the use of something like CHARS.
Changed it in the code, but not the program download. Thank you for your suggestion.
I typed this into my TI-84+ CE and noticed a few improvements that could be made.
1) The first digit of the score is displayed at an X-coordinate of 16. On older calculators, the second and third digits of the score are displayed at coordinates of 1 and 2, respectively. The display should be at 14 to prevent a looped score.
2) The way the game ends when the bird dies is kind of abrupt, so Pause should be put after the last End.
Also, I made a full screen version for the TI-84+ CSE and CE:
I'll upload the CSE/CE version to the archives shortly.
I will change the download in a few minutes to reflect the movement of the score. Download updated
The abrupt ending was for optimization purposes. Also a pause at the end wouldn't do anything. It also allows users who want to modify or expand upon this program to learn a little bit possibly.
It kept on telling me there was a domain error on the 13th line
Check your code. This program has been proven to work. If you don't believe me, watch the youtube videos
Hello,
I have figured out a way to do high score:
Before (If Y>8: Stop), put:
If Y>8: Output (3,4,"HIGH SCORE:")
If Y>8: Output (4,8,Z)
Then do the same kind of command before (If V=2 and (Y(not)=H and Y(not)=H-1): Stop), using the beginning for the if statement.
Finally, go down to the three End functions at the bottom, and enter (If S>Z:S(store/arrow)Z) after the first End function
Now, when you die, it will show your score and your highest score to date below it. I think it adds to the overall effect.
I was well aware of that, but using a variable like Z can be unsuitable since it can sometimes be overwritten. As I said in earlier replies, The abrupt ending was for optimization purposes. It also allows users (like yourself) who want to modify or expand upon this program to learn a little bit possibly.
But good job for figuring out that you would need to change the statements after the conditionals to do anything.
So what variable should we use instead?
You should use a variable that you don't use in any other program.
Ok, thanks.
Dangit spelled my name wrong
You could always joins the TIBD…
:)
why dont you make the high score a one number list, like
1→ dim(ʟFBS)
→ ʟFBS(1)
This thread conversation is over a year old. Please do not post on dead threads, per the Rules. Since you're new here, just take this as a friendly warning. :P
And welcome to the TI-Basic Developer!
Which button do you press to go up?
Any key will work to go up
Sorry I couldn't edit the last post. When I press the up button or enter, the bird stays on the same row but it doesn't move up, no matter how fast I press.
Did you make sure the code you have is exactly the same as it appears at the top of the page? Carefully compare the code on your calculator to the code above and you'll probably find the cause of your problem.
Any key works as the input, and it works flawlessly for me. Try making sure the code is exactly the same as it is at the top of the page
Hi, I have the same problem as the above poster. Would you mind directing me to the part of the code that dictates where the "bird" should go up when pressing a key? Also, when you press, is the bird supposed to move up a row?
The "K"s have to do with the pressing a key.
The part where it says
is the part where it is detecting a key press. Everything else where the variable K is used is moving the bird up or down. In both of the videos below you can see I use more than just the enter key to move the bird up.
Click here to see a video of me using the download to prove it is functional.
Click here to see a video of me using the source code to prove it is funtional.
What is the box underneath 4 sto Y
Uh…this?
That's a negative sign before the 1. Not really sure what you need, could you elaborate :)
-1→S
Hi! Could someone help me with the high score system?
You'll first have to change the conditionals from Stop to a Goto command, and then have a Lbl command and your code for a high score system at the end of the program (it is pretty simple, so I'll let you figure it out on your own). I hope this helps.
You could also look at this highscores article. :)
I received a Domain Error on line " Output (E,V,"I"
You must have typed something wrong. The code works flawlessly, as shown by the videos in the post.
I double checked. I don't know what's wrong.
I type it in Output(E,V,"I"
What are the Symbols in the 3 boxes??
I can't seem to figure the 3rd one…and it's messing up the whole code
Nevermind I recoded the errors…..works so much better now…..tweaked the codes a little bit though