Questions tagged [flappy-bird-clone]

Questions about implementing 'Flappy Bird' game mechanics & features, and variations thereof.

Flap, flap, flap. Game Over. Gnnnnn...

Creating a Flappy Bird clone may be a good starting point to learn (mobile) game development. The popularity of the app has certainly inspired many to copy and adapt the concept, and many questions evolving out of making a Flappy Bird clone revolve around common game development techniques and issues.

Note: This is a semi-serious tag. SO is getting swamped with questions of users trying to create a Flappy Birds clone - since there are recurring mechanics and gameplay issues it may make sense for users trying to create a game like Flappy Birds to be able to look up their peer's questions and answers.

151 questions
0
votes
2 answers

Python - Pygame random obstacle height issues

I currently am working on a 'Flappy Bird' remake in Pygame using Python 3.2. I thought it would be good for practice, and relativly simple. However, it is proving to be hard. Currently, I am having a problem when drawing a rectangle at different…
Harvey
  • 384
  • 5
  • 15
0
votes
1 answer

HTML5 based game doesn't show up on browser?

Recently, i made a game on codepen.io called flappy bird an it was working fine there but when i tried to show it on my website it doesn't show up anything. Can someone tell what's missing or what is the problem in my code. here is the code ( sorry…
rahulkapoor99
  • 117
  • 10
0
votes
1 answer

Pygame - "Group object has no attribute 'rect'"

import pygame directory = "/Users/mmforde1/Desktop/Flappy_Bird/" #Directory where images are loaded from #Variables for me to tinker speed = 8 done = False BLUE = (184, 255, 255) def game_over(): pygame.quit() class…
Quojil
  • 107
  • 1
  • 8
0
votes
2 answers

Drawing Graphics From multiple classes?

I am making a flappy bird like plane game, and in one class I have the background that moves, and then I add it to the jPanel in the main which is in its own class, in another class I have the player and I add that to the main Jpanel. But whichever…
0
votes
1 answer

How to create recurring, different rectangles in Pygame?

As a beginner at Pygame, and a relative beginner at Python (around 4 months of knowledge), I thought it would be good practice to try and recreate the popular phone app 'Flappy Bird.' I have been fine with doing this, up to the point I am at now.…
Harvey
  • 384
  • 5
  • 15
-1
votes
0 answers

Pygame.time.set_timer confusion

hello so I have just recently started using pygame to try and make a flappy bird clone. I am trying to use pygame.time.set_timer to refresh the jump every so often, but when I try I still can't jump more than once Here's my code import pygame import…
-1
votes
1 answer

I am having an error with the random function in replit c++

I am working on a flappy bird clone to help me learn c++ and SFML. I am working on the pipes, and finally got a working version, but for some reason every time I run the code the rand() function gives me the same result every time. class Pipes { …
-1
votes
1 answer

Trying to make a flappy bird type movement pygame window

i am trying to make a flappy bird movement that moves the rect forward and down at the same time but after implementing it. The rect on the pygame window doesnt appear and the window crashes. I tried it with a for and while statement but both gave…
Umseizure
  • 63
  • 5
-1
votes
1 answer

flappy bird just displays a black screen

I tried making this flappy bird thing, but I can't seen to make it right, it gives me a black screen after I "copied" the code from Tech With Tim, It worked previously but after Episode 4 it just shows me a black screen, could anyone help? I am no…
Giorgi GT
  • 1
  • 2
-1
votes
1 answer

my code shows no errors but right now my flappy bird cosde should be printing the word every 1.2 seconds but it does not

my code shows no errors but right now my flappy bird cosde should be printing the word pipe every 1.2 seconds but it does not i do not know how to fix it and have checked every word in my code and i haev even re written it onec can anyone please…
Jigsaw
  • 294
  • 1
  • 3
  • 14
-1
votes
1 answer

TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'. But I wrote the int()

I uploaded a whole of code,I am sure that the problem is around "def score_display" I was doing the exact same thing what author did. But infortunately I got the error. At the beginning the code runs perfectly and when I fall and the function where…
Ali6464
  • 43
  • 1
  • 5
-1
votes
1 answer

Flappy Bird pygame base not defined

I'm currently finishing a Flappy Bird game in Python 3.8 that will be played by an AI that will learn by itself how to play the game and improve itself from its previous mistakes until a point where it will be "unbeatable". I'm really close to…
AmanoSkullGZ
  • 141
  • 1
  • 1
  • 7
-1
votes
1 answer

How to display a game over screen with Tkinter?

I'm programming a Flappy Bird clone but whatever I do, I can not display a game over screen if the bird touches the pipes. I did not think it was going to be difficult but it is. I managed to get a start screen with the debut and rapide function and…
-1
votes
1 answer

How do I generate random sized panels? C#

I was wondering how to continuously generate random sized panels with C#, withut using a game engine. What I want to do is to make a Flappy Bird remake. So what I need the random sized panels is for the obstacles. How would I do that? I haven't…
-1
votes
2 answers

Unity3d flappy bird tutorial - space button not working

I am a total beginner at Unity3d. I have some background in android programming, but no C# experience whatsoever. The first thing I am trying to do is to create a clone of flappy bird game, called flappy plane, according to this tutorial…
Gregory
  • 31
  • 6