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
1 answer

Objects not shown on screen & keyPressed not working (Flappy Bird Code Challenge)

I created flappy bird game following The Coding Train's tutorial on Youtube. (https://www.youtube.com/watch?v=cXgA1d_E-jY) The original instruction created pipes and ball as objects, but I modified mine to be created as classes instead. I have two…
Soo
  • 5
  • 4
0
votes
1 answer

Unity - Start Method not running

I'm new to Unity and i am following a flappy bird tutorial to get a little more familiar with the game engine. i'm following the CodeMonkey tutorial. i'm at the game over screen. this is the script i have attached to my GameOverWindow. but only the…
Bjorn Fontaine
  • 426
  • 1
  • 4
  • 17
0
votes
0 answers

Flappy Bird Collision Detection Inaccurate C++ SFML

I am learning to make 2d games with c++ using the SFML libraries. I am currently working on a flappy bird clone. Most of the functionality works (the pipes move and the bird jumps/falls); however, the collision detection is unacceptably inaccurate.…
user11590896
0
votes
0 answers

Array returns error, when i play in portrait mode

Ive made a Flappy bird Clone. It works fine when i play in normal screen mode. (1920×1080). However, when i play in potrait mode, my Array is getting a 'undefined' Error. I tought theres a problem, since i use windowHeight and windowWidth. Iam doing…
Name Guy
  • 31
  • 6
0
votes
0 answers

Unity - I can't smooth the continuous movement of my Kinematic Rigidbody2D

I'm making an Android game inspired in Flappy Bird, so I followed the Unity's Official tutorial (using custom sprites and script for my bird for better feeling); But as you know Flappy Bird must be smooth, and I can't make mine feel like the…
0
votes
0 answers

Attempting to create a customisable background button in XCode with Swift 3?

I apologise but I am relatively new to coding and venturing into typing up my own customisations of a flappy bird game. I have made two customisable buttons, for the bird and for the background. The bird button is fully functional but when the game…
0
votes
2 answers

swift 3 - making a flappy bird game, horizontal pipe trouble

So I'm currently making a flappybird-like game using a tutorial and I have copied everything down the same but my pipes just keep spawning in the chosen spot and don't move horizontally at all. Any ideas on how to fix this? Here is my code so…
Enuff
  • 1
0
votes
1 answer

Creating a flappy bird animation

I am pretty new in Java and I am working on my own flappybird game copy. Just teoretically, how would you create the animation of the bird? Should I do it as a compilation of many pictures or is there any Class which could change the angle of the…
Tomáš Nosek
  • 213
  • 2
  • 12
0
votes
1 answer

Physics body of my object will not jump when touch began is clicked

I am trying to make a flappy bird look alike off of a youtube video ( https://www.youtube.com/watch?v=D7ntzPFvMf0) and it was made in swift 2. I am attempting to do this in swift 3. Everything has been going smoothly until i reached the touch began…
Sam R.
  • 1
  • 2
0
votes
1 answer

Flappy bird screen flash when you die? - Swift

When you collide with a pipe in Flappy Bird, an extremely brief white flash fills the screen. How can I reproduce this in my own game? It almost resembles the same white flash that occurs when you take a screen shot, but it's much shorter in…
Tiptech
  • 177
  • 1
  • 17
0
votes
1 answer

Pygame New Object Every Second

In pygame I need to make a flappy bird clone. I need to make recurring pipes so I want to do this by drawing new ones at the end of the screen every couple of seconds. I know there is a pygame.set_timer function but how do I implement this so that…
Big Aus
  • 59
  • 1
  • 5
0
votes
1 answer

Troubles with javax.swing.timer while implementing a replica of Flappy Bird in Java

I am writing a replica of Flappy Bird game in Java , but I'm getting stumbled in some stuff concerning threading. Basically,I have 4 classes in my project so far.I have the Renderer class which helps me render the game and look like this: import…
Dragos2795
  • 29
  • 1
  • 9
0
votes
1 answer

Single click needed to run function instead of double click SpriteKit

Im making a flappy bird clone and when the bird dies, the spriteNode with restart button pop ups, but the fist click is stoping animation (if there any) and second click forse the restart() function heres how i make SpriteNode menu with button: let…
0
votes
5 answers

How to improve movement code in Unity?

I am making a game in Unity using the 2D format which has the same mechanics as Flappy Bird. But, I fail to make the movement as good as I want it to be. The main problem is that when I press the mouse button, it does not stop until I release the…
0
votes
1 answer

How to make imageView move smoothly?

I am creating an Android Flappy Bird clone, but I don't know how to make a imageView move smoothly? Here is what I have done so far. public void up(final ImageView i){ CountDownTimer start = new CountDownTimer(100, 100) { @Override …
OAJJ
  • 35
  • 7