Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI-Nspire => Topic started by: LDStudios on February 04, 2014, 09:14:44 pm

Title: Flappy Bird
Post by: LDStudios on February 04, 2014, 09:14:44 pm
Flappy Bird nspire is just about done.
Right now it only runs on OS>=3.2 but give me a few days to fix that.
A big thanks to ClrDraw for inspiration.

Controls:
Tab: Fly
Enter: Start Game
Esc: Go to Main Menu
Ctrl+Del: Reset Highscores

Screenshots:

(http://img.ourl.ca/horizon.jpg)

(http://img.ourl.ca/nighthorizon.jpg)

(http://img.ourl.ca/tab.jpg)

Download is below
Enjoy!
Title: Re: Flappy Bird
Post by: Spenceboy98 on February 04, 2014, 10:06:43 pm
Ooh. This looks good. Do you think I could have the source to try to port it to Prizm lua (luazm)? I like to try to port Nspire lua games.
Title: Re: Flappy Bird
Post by: ClrDraw on February 04, 2014, 10:11:39 pm
That looks great!  :) It makes me wish I had an nspire, that color is awesome.
Title: Re: Flappy Bird
Post by: DJ Omnimaga on February 04, 2014, 11:27:10 pm
Very nice! Btw do you plan to put it in the downloads section? (link to the tns attachment) It might get more visibility there.
Title: Re: Flappy Bird
Post by: LDStudios on February 05, 2014, 08:25:26 am
Sure, Ill do that as soon as I fix 3.1 compatibility :)
Title: Re: Flappy Bird
Post by: Loulou 54 on February 05, 2014, 08:53:58 am
Hey ! It looks like my TI 89 game I made some years ago !
Take a look at it : Piou Piou contre les cactus (http://tiplanet.org/forum/archives_voir.php?id=1913) ;) (Piou Piou against the cactus)

Very nice ! Beautiful graphics ! But well, I didn't go futher than 8.. ^^

In my version, there are lifes that you loose when you hit a cactus. You begin with 4 lifes, then you can win some of them when you reach milestones. (3 lives max)
Title: Re: Flappy Bird
Post by: LDStudios on February 05, 2014, 10:45:54 am
Im glad you like it :)
My record so far is 17
I would love to try out your game if i had an 89, it looks really cool :D
Title: Re: Flappy Bird
Post by: nspireguy on February 05, 2014, 12:30:40 pm
how is the 3.1 version coming? if u want i can help beta test it!!! keep up the good work!!!
Title: Re: Flappy Bird
Post by: LDStudios on February 07, 2014, 09:29:28 pm
It works with 3.1 now :D
Currently, because of some 3.1 limitations, it may run too quickly on student software <3.2 (should be fine on calc)
Also, the bird does not rotate while flying on 3.1 OSes.
Ill try to fix both of these soon, but for now, the updated version is attatched to the first post :)
Title: Re: Re: Flappy Bird
Post by: DJ Omnimaga on February 08, 2014, 11:54:49 am
Good to hear, I can't wait to try this when I have some free time. :)
Title: Re: Flappy Bird
Post by: AnToX98 on February 09, 2014, 08:28:48 am
Wow nice stuff LD :)
Title: Re: Flappy Bird
Post by: Joshuasm32 on February 09, 2014, 11:21:19 pm
The original creator of FlappyBird has just pulled it from the Apple and Google play stores (http://news.cnet.com/8301-1035_3-57618612-94/bye-bye-flappy-bird-popular-game-grounded-by-its-creator/)...  Good thing is was ported!  ;)
Title: Re: Flappy Bird
Post by: LDStudios on February 10, 2014, 06:18:07 am
For anyone with OS 3.1:
I am aware that the game runs too quickly on your calculators and student software, I am currently working on fixing that, as well as the image rotation.
Please be patient :D
Title: Re: Flappy Bird
Post by: bluepower9 on February 10, 2014, 08:42:44 pm
hey i tried the game on my nspire cx cas OS 3.2.4.1237 and it is extremely slow and literally unplayable. 
Title: Re: Flappy Bird
Post by: LDStudios on February 10, 2014, 09:27:06 pm
@bluepower9: Welcome to Omnimaga :D
I'm not sure why that is, but I am working on making the frame rate constant for any platform, wait a few days and hopefully I will have it working. Sorry for the inconveniance
Title: Re: Flappy Bird
Post by: DJ Omnimaga on February 11, 2014, 01:18:23 am
Couldn't you just release multiple versions? Sometimes it's just plain impossible to keep one version working on multiple OSes. Else, could you have the game detect which OS is installed and if it's running on a real calc or emulator or is that impossible? In xLIB xLIB Revolution for the 84+ series, when someone tried the game on a 15 MHz calc, the game was artificially slowed down and it could run some extra levels that can't run on a 6 MHz calc.
Title: Re: Flappy Bird
Post by: AnToX98 on February 11, 2014, 12:32:41 pm
The main problem is that he is starting the timer at 0.07 instead of 0.01...
Title: Re: Flappy Bird
Post by: LDStudios on February 11, 2014, 05:16:16 pm
Actually, it only sets the timer at 0.07 if you are using student software. However, when i double checked this, i found that it was even worse, when i updated it to fit 3.1 i accidently cut out part of the code, and the timer was set to 1.00 on calc! That explains the problem bluepower9 had. The updated version is attatched. Woooow thats embarrassing! 46 downloads on a file that refreshed once a second. Please it anyone finds another problem, let me know so i can fix it sooner! Thanks a lot AnToX and bluepower :D
Title: Re: Flappy Bird
Post by: AnToX98 on February 12, 2014, 08:07:05 am
Ok sorry :)
Title: Flappy Bird
Post by: LDStudios on February 12, 2014, 08:47:21 am
Flappy Bird



http://www.omnimaga.org/index.php?action=downloads;sa=view;down=891

Flappy Bird for nspire!
May run too fast on student software <3.2 but should be fine on all calcs
Also the bird will not tilt as it flies without 3.2 (for now)
Enjoy! :)
Title: Re: Flappy Bird
Post by: AnToX98 on February 12, 2014, 09:12:02 am
I can't download it :(
Title: Re: Flappy Bird
Post by: Sorunome on February 12, 2014, 09:27:29 am
gah, stupid SMF bug >.<
Title: Re: Flappy Bird
Post by: LDStudios on February 12, 2014, 09:31:27 am
Ignore the one in the downloads section for now, I think its the same version that runs 1 fps on 3.2 calcs. As soon as i get home Ill update it.
Until then, download the attachment on the first post

EDIT: Version in the download section was updated by Sorunome
Title: Re: Flappy Bird
Post by: Sorunome on February 12, 2014, 09:35:48 am
Also, you can update your old download with the new link.
Or if you can't, poke me to do it :P
Title: Re: Flappy Bird
Post by: DJ Omnimaga on February 12, 2014, 12:28:02 pm
Btw I tried this on my calc running OS 3.1 and although it ran quite fast, it was still pretty fun for a while. Very hard, though, because my max score was 3 pts :P
Title: Re: Flappy Bird
Post by: LDStudios on February 12, 2014, 04:14:39 pm
@DJ Omnimaga: I'm well aware of this. Expect an update tonight or tomorrow, fixing that, and also adding a few surprises :D
Title: Re: Flappy Bird
Post by: DJ Omnimaga on February 12, 2014, 05:29:57 pm
Will you enhance gameplay beyond the original version, such as power ups?
Title: Re: Flappy Bird
Post by: LDStudios on February 12, 2014, 05:40:30 pm
UPDATE: Now runs at a good speed on OS 3.1
              Added Nightmode
              Slight physics Change
              Fixed some graphical issues on 3.1

(http://img.ourl.ca/night.jpg)

Update attatched to first post, but not yet approved in the downloads section

@DJ Omnimaga: Thats not a bad idea, but I dont know for sure yet

EDIT: For anyone who just downloaded, i fixed a minor graphical bug and reuploaded
Sorry for the inconvenience
Title: Re: Flappy Bird
Post by: TIfanx1999 on February 13, 2014, 06:47:47 am
I've approved your file. If you didn't submit the one with the bug fix feel free to poke me it needs to be approved.
Title: Re: Flappy Bird
Post by: nspireguy on February 13, 2014, 09:29:54 am
hay flappy bird made the front page on ti planet!!!
looks like he is making one also.(yay more flappy)
Title: Re: Flappy Bird
Post by: Hussein5498 on February 13, 2014, 06:02:10 pm
Hi there. I have a tinspire touchpad(b&w screen) running os 3.6 and i tried to run your game but it just goes so fast that i dont even have time to press tab before the bird dies. could u please fix that. i would really like to have this game on my ti nspire. plz
Title: Re: Flappy Bird
Post by: LDStudios on February 13, 2014, 06:42:12 pm
@Hussein5498: For now download adriweb's version here
http://ourl.ca/20680/376187
I will work on editing the game to work well on all platforms
Title: Re: Flappy Bird
Post by: Adriweb on February 13, 2014, 06:45:05 pm
Well, mine was/is more of an educational version (see the code, you'll see extensive use of classes, screen manager, etc.) that "happens" to work well enough on actual calculators (at least on my CX CAS, 3.2).

If anyone else's version works better on device for various reasons, it should be the one that gets downloaded :)
Title: Re: Flappy Bird
Post by: DJ Omnimaga on February 13, 2014, 08:17:32 pm
Btw, in Omnimaga, the download link doesn't work. It says that I am not allowed to access this section.
Title: Re: Flappy Bird
Post by: LDStudios on February 13, 2014, 08:40:00 pm
@DJ Omnimaga: I have no idea why..

Anyways, I locked the poll because I made a decision. I will replace the bird sprite with a set of polygons, and rotation matrices. This will also make it possible for the bird to change color, like in the final update of the iOS version.

Hopefully soon i will release an update, with good speeds and rotating birds on all platforms, as well as a detailed horizon, stars on nightmode, more detailed pipes, and much more :D
Title: Re: Flappy Bird
Post by: TIfanx1999 on February 13, 2014, 09:03:28 pm
It's strange that it works so differently on different models/ nspire oses. :/ I wish you luck on getting it to preform well across all models.
Title: Re: Flappy Bird
Post by: DJ Omnimaga on February 13, 2014, 09:03:37 pm
Good luck, hopefully you can manage to make the bird still look nice :D
Title: Re: Flappy Bird
Post by: LDStudios on February 13, 2014, 09:32:31 pm
Good luck, hopefully you can manage to make the bird still look nice :D

I'm hoping to draw the polygons in the exact same shape as the sprite, I'll even make each pixel a 1x1 rectangle if i have to, so it shouldnt look any different


It's strange that it works so differently on different models/ nspire oses. :/ I wish you luck on getting it to preform well across all models.

Ya, sorry for any inconveniences, but I'm pretty sure the next update will work consistently
Just wait a few days, i have school vacation next week, so I'll have lots of time

Heres a look as to what is coming:

(http://img.ourl.ca/horizon.jpg)
Title: Re: Flappy Bird
Post by: DJ Omnimaga on February 13, 2014, 11:31:21 pm
Ooh nice, you're adding the original background :D
Title: Re: Flappy Bird
Post by: Hussein5498 on February 14, 2014, 07:50:08 am
@Hussein5498: For now download adriweb's version here
http://ourl.ca/20680/376187
I will work on editing the game to work well on all platforms

Thnx man. I will try it when i get home. Thnx very much
Title: Re: Flappy Bird
Post by: LDStudios on February 14, 2014, 08:12:35 am
@Hussein5498: When its ready, could you test the next version on 3.6 before I release it?
Title: Re: Flappy Bird
Post by: Hussein5498 on February 14, 2014, 11:22:58 am
Sure. It would be my pleasure. By The way, the game in the link u sent me also has the same problem. The speed in which the bird flies and dies is insane.
Title: Re: Flappy Bird
Post by: AnToX98 on February 14, 2014, 11:59:56 am
Hey LD I tested your game on my calc and I have to say that it is awesome :D

However, I don't understand why it runs faster on OS 3.6 than OS 3.2... (i have two nspire with the two different OS and I noticed that)

Title: Re: Flappy Bird
Post by: Hussein5498 on February 14, 2014, 01:08:20 pm
Mine in version 3.6 goes even faster than yours in the same os 3.6, either with LDStudios' or with Adriweb's. Hope someone could please fix this. I will be glad to test and do whtevr u want me to do
Title: Re: Flappy Bird
Post by: LDStudios on February 14, 2014, 02:40:58 pm
Just hold on everyone, I have no school this next week, I'll get it working on 3.6 as soon as possible :)
Title: Re: Flappy Bird
Post by: Hussein5498 on February 14, 2014, 05:37:22 pm
Thnx man. Ur the best
Title: Re: Flappy Bird
Post by: LDStudios on February 15, 2014, 01:30:51 pm
This project is on hold while I work on my entry for TI-Concours
Title: Re: Flappy Bird
Post by: AnToX98 on February 16, 2014, 04:20:00 am
For those who are under OS 3.6, I've added some graphics on horizon to slow down a little bit the game and make him smarter :)

LDStudios : thank you so much, this is one of the best game ever :)

(http://i.imgur.com/ojrRMlw.jpg)

Title: Re: Flappy Bird
Post by: LDStudios on February 16, 2014, 06:23:36 am
@AnToX98: Is all that you did add the horizon?

Anyways, even though I can't focus on it very much, I can't help but do a little work, so this is progressing alongside my TI Concours submission. Pretty soon I'll update it with consistant speeds for all platforms, as well as the more detailed graphics on horizon and grass.
Title: Re: Flappy Bird
Post by: AnToX98 on February 16, 2014, 07:37:43 am
I'm working on TI-Concours too. In this version I also removed the "night" because the horizon don't fit with the dark blue :)
Title: Re: Flappy Bird
Post by: nspireguy on February 16, 2014, 09:14:30 am
hay if anybody wants my help testing i would be more than happy to help!!!
Title: Re: Flappy Bird
Post by: LDStudios on February 16, 2014, 09:38:13 am
I'm working on TI-Concours too. In this version I also removed the "night" because the horizon don't fit with the dark blue :)

Okay, well I'm working on it, and I already made a different horizon sprite for night :)
I'll release an update in a few days
Title: Re: Flappy Bird
Post by: nspireguy on February 16, 2014, 03:57:41 pm
@LDStudios: yay i cant wait!!!!!

ps. this is my 100th post! i think that this topic deserves that! so LDStudios this is for you!!!
Title: Re: Re: Flappy Bird
Post by: DJ Omnimaga on February 16, 2014, 05:24:57 pm
What is your TI-Concours entry btw?
Title: Re: Flappy Bird
Post by: LDStudios on February 16, 2014, 06:31:10 pm
The category for lua is hangman. I don't want to say anything about my specific entry until after the contest
Title: Re: Flappy Bird
Post by: LDStudios on February 16, 2014, 09:14:19 pm
UPDATE!!!
-Horizon and ground sprites
-Constant speeds on all platforms (i think)
-Improved graphics on computer view
-File Size is almost 10x smaller
-Small graphical errors fixed

PLANNED
-Complete redo of graphics setup (for now, use calc view on computer, else it will look very bad)
-Tilting bird on all OSes
-Any other ideas? Let me know! :D

Update is attached to the first post
Enjoy!

EDIT: For now use the link on the first post of this topic, the version in the downloads section still has to be approved
Title: Re: Flappy Bird
Post by: Hussein5498 on February 17, 2014, 04:39:38 pm
Already tested ur last upload but it still has a huge speed. Other than tha, the graphs look very nice and the size is also very small. Only thing is really the speed which the bird flies and falls
Title: Re: Flappy Bird
Post by: LDStudios on February 17, 2014, 05:49:25 pm
Sorry, I tested on OS 3.2, and 3.1, i thought it would be balanced for 3.6 as well.
I should be able to fix it though. Sorry for the inconvenience
Title: Re: Flappy Bird
Post by: LDStudios on February 18, 2014, 08:12:00 am
Game speeds should now be fixed on OS 3.6
Title: Re: Flappy Bird
Post by: Hussein5498 on February 19, 2014, 06:38:01 pm
Ok thanks. Im going to try it out later. Thnx
Title: Re: Flappy Bird
Post by: LDStudios on February 22, 2014, 05:20:18 pm
It's coming...
(http://img.ourl.ca/mm.jpg)
Title: Re: Flappy Bird
Post by: Sorunome on February 22, 2014, 05:21:20 pm
Oh, the game that inspired me to make rainbow, nice :P
Title: Re: Flappy Bird
Post by: pimathbrainiac on February 22, 2014, 05:25:43 pm
O.O

This better happen!
Title: Re: Flappy Bird
Post by: Hayleia on February 23, 2014, 04:03:47 am
This better include the music.
JK :P

But at least, would it have the "moving" walls and background (I mean them moving upwards and downwards according to the beat) ?
Title: Re: Flappy Bird
Post by: bb010g on February 23, 2014, 12:36:58 pm
YES. I can't wait!
Title: Re: Flappy Bird
Post by: LDStudios on February 23, 2014, 01:41:54 pm
I'm glad there is some excitement! :D
Unfortunately, I won't have much time to work on it until after TI Concours, and there is still a lot to be done, so it may be a few weeks.

YES. I can't wait!

You're going to have to ;)
Title: Re: Flappy Bird
Post by: DJ Omnimaga on February 26, 2014, 10:37:33 pm
It's coming...
(http://img.ourl.ca/mm.jpg)
That looks nice actually O.O, but for some reasons the calculator UI at the top seems strange ??? (some missing borders?) Or is it a mockup?
Title: Re: Flappy Bird
Post by: nspireguy on March 03, 2014, 07:00:36 pm
It's coming...
(http://img.ourl.ca/mm.jpg)
this is a stupid question but what is this ???
Title: Re: Flappy Bird
Post by: LDStudios on March 03, 2014, 07:40:17 pm
It's coming...
(http://img.ourl.ca/mm.jpg)
this is a stupid question but what is this ???

Maverick bird, look it up
Title: Re: Flappy Bird
Post by: LDStudios on March 06, 2014, 08:08:01 pm
It's on ticalc and featured! :D

News article: http://www.ticalc.org/archives/news/articles/14/148/148558.html
File: http://www.ticalc.org/archives/files/fileinfo/458/45872.html
Title: Re: Flappy Bird
Post by: DJ Omnimaga on March 06, 2014, 11:14:16 pm
Congrats. To be honest, though, I wasn't too sure if any Flappy Bird clone deserved a feature, because there are just too many of them and out of the four Nspire ones, at least two including yours were almost equally as good. However, one thing that makes yours and ClrDraw's deserve a feature over the others is that they were the first Flappy clones ever for their respective calcs, they happened to be good ports and I don't think that Piou Piou was ever ported to those calcs in the past, so if we exclude the Flappy Bird clones that came out after yours and ClrDraw, they were kinda original per calc standards. I prefer Hayleia's version to ClrDraw's, but it wasn't the first to come out, so it isn't considered as original as ClrDraw's, plus several of the versions available are not available on ticalc.org yet (and being in their archives is a requirement to get featured).

However, I guess the popularity might have come into play too, so seeing a big name being ported to calcs is often seen as good in the TI community, since it brings more members.
Title: Re: Flappy Bird
Post by: LDStudios on March 07, 2014, 06:15:42 am
4 flappy birds for nspire? I was only aware of 3. Mine, adriweb's, pierrotdu18s, who elses?
Title: Re: Flappy Bird
Post by: DJ Omnimaga on March 07, 2014, 07:07:07 am
AnToX98's, if I recall correctly. (Although IIRC he just modified your version)
Title: Re: Flappy Bird
Post by: Hayleia on March 07, 2014, 07:07:53 am
Congrats. To be honest, though, I wasn't too sure if any Flappy Bird clone deserved a feature, because there are just too many of them and out of the four Nspire ones, at least two including yours were almost equally as good. However, one thing that makes yours and ClrDraw's deserve a feature over the others is that they were the first Flappy clones ever for their respective calcs, they happened to be good ports and I don't think that Piou Piou was ever ported to those calcs in the past, so if we exclude the Flappy Bird clones that came out after yours and ClrDraw, they were kinda original per calc standards. I prefer Hayleia's version to ClrDraw's, but it wasn't the first to come out, so it isn't considered as original as ClrDraw's, plus several of the versions available are not available on ticalc.org yet (and being in their archives is a requirement to get featured).
Well in fact, I thought they'd never feature that, hence why I did't upload mine there -.-
Title: Re: Flappy Bird
Post by: LDStudios on March 07, 2014, 12:53:30 pm
AnToX98's, if I recall correctly. (Although IIRC he just modified your version)

Oh, I didn't think that counted (especially after I added horizon to my own version :P)