NaaLaa
Flappy Bird - Printable Version

+- NaaLaa (https://www.naalaa.com/forum)
+-- Forum: NaaLaa (https://www.naalaa.com/forum/forum-1.html)
+--- Forum: NaaLaa 7 Code (https://www.naalaa.com/forum/forum-4.html)
+--- Thread: Flappy Bird (/thread-120.html)



Flappy Bird - johnno56 - 04-16-2024

This is a project I started back on 19th October 2016 using SDLBasic...
Over the years it has been ported to QB64 and RCBasic (Jan 2022)

The game is simple. Left Mouse Button or Space to flap. Fly through the "gaps" in the pipes. Each pipe passed is one point. Warning: The game will speed up gradually (usually after every 5 pipes) to a maximum speed of "8"....


.zip   flappy.zip (Size: 95.22 KB / Downloads: 5)

Be careful... index finger fatigue warning!

(ps: Had to mute the "flapping" sound... so annoying... needs a type of timer mod...)


RE: Flappy Bird - Marcus - 04-16-2024

Lovely! I crashed into a pipe the moment I reached speed 8  Angry


RE: Flappy Bird - johnno56 - 04-16-2024

If "8" is not enough... the magic word is... "edit"... Moo Ha Ha Ha...


RE: Flappy Bird - 1micha.elok - 04-17-2024

(04-16-2024, 12:17 PM)johnno56 Wrote: ...
Be careful... index finger fatigue warning!
...

Some says that The Flappy Bird was popular after played by the Swedish YouTuber PewDiePie or Angelina Jolie ... I am not so sure....
By the way.... index finger fatigue was proven ... lol

   
click the image to zoom-in

How about a cheat mode ? If cheatmode = true then flappyY = 300  Big Grin Big Grin Big Grin
Code:
        '   Collision with top pipe
        if flappyX + flappyW > pipeTopX and flappyX < pipeTopX + pipeW then
            if flappyY + flappyH > pipeTopY and flappyY < pipeTopY + 630 then
                if cheatmode = true
                    flappyY = 300
                else
                    play sound dead
                    wait 1000
                    alive = 0
                endif
            endif
        endif



RE: Flappy Bird - johnno56 - 04-17-2024

Shame on you for suggesting a cheat mode!! Particularly when you did not mention which key, or combination of keys, would enable such a mode... lol But I do like the way you think... Moo Ha Ha Ha....