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

Rotating a sprite and counter rotation

I am building a mobile game and trying to implement the same concept of image rotation as Flappy bird. I am able to rotate the image counter clock with gravity and when I touch the screen the rotation is clockwise My issue is that I am not getting a…
user2510952
  • 193
  • 1
  • 3
  • 12
1
vote
1 answer

How to update several instances of a class that spawn throughout a game?

Newbie here, I'm creating a Flappy Bird clone using XNA and up until now I'd encountered no unsolvable problems, but I just don't know how to proceed on the spawning of pipes. I have a pipe class, and I manage to create an instance of it based on a…
Bensas
  • 101
  • 1
  • 9
1
vote
1 answer

Acceleration/Deceleration of Velocity

import java.util.*; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class Zhang extends JFrame implements Runnable, KeyListener { Container con = getContentPane(); Thread t = new Thread(this); int Hogwartsx =…
Sarah
  • 25
  • 7
1
vote
1 answer

Buggy Pipe Game output to JFrame

I used to run my program as an applet, and it worked fine then, but I have decided to try to make it run in a JFrame. I recently had a problem with overriding, but I think I finally have that problem solved. This is a game I have been working on…
Cyber Storm
  • 217
  • 1
  • 13
1
vote
1 answer

XCode SpriteKit physics body doesn't match sprite size

I am new to sprite kit and to develop my skills I am creating a game similar to the popular Flappy Bird. I have created a method which adds in pipes to the scene to be obstacles. I have created static physics bodies for these obstacles by using the…
dev_cd123
  • 273
  • 1
  • 4
  • 12
0
votes
0 answers

how to change my rectangles to an image of a bird for my flappy bird game

I have a rectangle to represent my bird, i used a tutorial for my bird and pipes but i understand that the Rectangle class has x,y,width and height as its parameters. I am not too sure how to replicate that using an image. My main issue is finding…
0
votes
2 answers

how can i properly fasten my instantiated game object while there are still slower game object in my scene?

I'm so nooby at unity. I'm trying to make a flappy bird clone and ı wanna fasten pipes which are coming toward bird. ı can fasten them but in game scene there are still slower pipes and it doesnt seem good how can ı solve this problem? Sorry for my…
0
votes
0 answers

How do I fix the collision detection code in my flappy bird game

I'm a new programmer and decided to make a flappy bird clone game. I currently have all the mechanics of the game working like the pipes moving to new locations and the bird jumping, but I cannot get the program to detect a collision when the bird…
0
votes
1 answer

Pipes are not generating in Python (Tkinter{flappy bird}) and I don't know why

When the game starts, a pipe should generate every few seconds and then delete itself while it is off the screen. Except... the pipes does not appear on the screen at all. I tried checking how many pipes there were present and the number fluctuated…
0
votes
1 answer

Why my upper pipe is not appearing in PyGame?

Was just tryin' to make a Flappy Bird clone in PyGame but the upper pipe did not appear for some reason. I Did update the screen, nothing is just appearing. It goes invisble after the first go that it reaches a x lower than 0 and it resets the…
0
votes
0 answers

How do i make a kinematicbody2d flap in godot? (c#)

I am creating a flappy bird like game, to learn more about game development, i realized that jumping to complex project ideas isnt a good idea. So i abandoned them, and started to create. Not much has passed and i already didnt know what to do, and…
George
  • 101
  • 8
0
votes
0 answers

Unity 2D Not detecting when touching object with tag obstacle

I am making a game similar to flappy bird I am currently following this guy's tutorial and I'm stuck near the end I have been searching for 4hours and can't find a solution here's the code Game Manager: using UnityEngine; public class GameManager :…
0
votes
0 answers

Need help creating poles for Flappy Bird

I've been using NetLogo Programming for a few weeks now, but I'm still a little confused with the syntax. I'm trying to create a NetLogo version of the Flappy Bird game, but I can't seem to make the poles work. I tried using patches, but the poles…
0
votes
0 answers

i am actually making flappy bird as my first project in flutter. how can i add an asset audio in gesturedetector?

[here is the write and gesture detector code](https://i.stack.imgur.com/RmUfF.png) I tried adding this but it didnt work . i just want when i click on the music button it should play the background audio in assets and if click on no music it should…
0
votes
0 answers

How can I use play library in Python?

I wanted to do a Flappy bird kind of project and I needed to import play library. I use VS Code and when I click on the "play" wiriting it converts to "Playsound". It doesn't work and I use MacBook. If you can help me I would be glad... Thanks in…
cleopatra
  • 3
  • 2