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
0 answers

Why isn't one of these turtle objects moving?

I have this piece of code that has a block which moves towards the player. The player avoids this block by clicking to jump (basically Flappy Bird). if the player touches the ground, they lose, and if they touch the block, they also lose. It was…
0
votes
1 answer

(Flappy Bird) Function to alter object that spawns based on number of already instantiated prefabs?

In my flappy bird game, I want to create a loop that works through instantiated pipes, altering the pipe prefab (to reduce space between pipes + increase respawn rate) to increase difficulty based on player score. The code below works, but I'd like…
0
votes
0 answers

Flappy Bird floor bugging

I've been starting to code with html/css/js. .ground-moving { height: 150px; width: 580px; left: 80px; position: absolute; background-image: url('bottom-background.png'); animation: slideright 100s infinite…
0
votes
0 answers

I'm getting a null reference Exception in my collider 2D in Unity 2D

so I'm making a flappy bird game, but with the exception, that the player only dies if he hits the back wall. If he hits the wall, it should access a function inside my GameManager (empty object), which relads the scene. public void…
0
votes
1 answer

python error message AttributeError: 'Bird' object has no attribute 'unsetflapped'

so i am learning to code games from a video coding tutorial series. And my current problem is that when i run the game I get the following error: File "/home/dev/PycharmProjects/Game6_Flappy_Bird/modules/sprites/bird.py", line 33, in…
0
votes
0 answers

context.fillText Score failing to increment or display correctly on the screen

I have the beginnings of a flappy bird game - and the score is not incrementing. The code is below: (all in one file) and the bird.png is in the root folder.
Compoot
  • 2,227
  • 6
  • 31
  • 63
0
votes
1 answer

I have the beginnings of a flappy bird game - the canvas fails to render/display

I have the beginnings of a flappy bird game - the canvas fails to render/display. What should be displayed is a blue sky (context defined below) and a falling bird. Instead it just shows a black screen. The code is below: (all in one file) and the…
Compoot
  • 2,227
  • 6
  • 31
  • 63
0
votes
2 answers

TypeError: not supported between instances of 'NoneType' and 'float'

I am doing flappyBird game with neat from Tech with Tim tutorial and I created self.type inside Bird Class which means that bird is controllable by keyboard input or neat class, but I am getting this error after finish last generation: …
0
votes
1 answer

How can I hover over an image and get the coordinates of the position where my mouse is present

I am following this tutorial on youtube regarding making a flappy bird game.. The guy teaching has used this image in the project. I want to use different parts of this image separately.. How can I make sure that i hover over some point in the image…
user14038734
0
votes
1 answer

How can i put my class in the client in socket programming?

I made a game similar to Flappy Bird by using JavaFX. Now I want to play it by using localhost IP. How can I move the class in FlappyBird to the client so that the flappybird becomes the client? also how can we make multiple clients using this? This…
0
votes
0 answers

libGDX build fail for java desktop flappy bird clone

TL/DR: hey guys, trying to make flappy bird clone with java/libGDX/intelliJ (following along with youtube tutorial). when i try to generate in libGDX, i get the following message: (btw ran libGDX with only desktop selected, tried going into advance…
0
votes
2 answers

How to fix "Thread 1: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value" error in Swift?

I'm currently taking an iOS game development course on Make School. The first step in this course is to. make a game which is similar to flappy bird, with some of the basics like procedural generation and infinite scrolling, so on so forth. I am not…
0
votes
0 answers

Neural Networks are all acting identically

I am trying to make a neural network trained with the genetic algorithm to play flappy bird. When I initialize the first generation of random neural networks, everything works as expected: there is a relatively random distribution of actions.…
0
votes
1 answer

Flappy Bird pygame "birds" not defined

After solivng the previous issue with the level's base, I've faced a different problem right after solving that problem. It seems to be the same problem, the error still is NameError: name 'birds' is not defined but this time, bird is actually…
AmanoSkullGZ
  • 141
  • 1
  • 1
  • 7
0
votes
1 answer

Unresolved Error when calling function of Flappy Bird Clone

I am getting the error: Error LNK2019 unresolved external symbol "public: struct DirectX::SimpleMath::Vector2 __thiscall Bird::getScreenPos(void)" (?getScreenPos@Bird@@QAE?AUVector2@SimpleMath@DirectX@@XZ) referenced in function "private:…