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
19
votes
5 answers

Annoying lags/stutters in an android game

I just started with game development in android, and I'm working on a super simple game. The game is basically like flappy bird. I managed to get everything to work, but I get a lot of stutters and lags. The phone I'm using for testing is LG G2,…
Asaf
  • 2,005
  • 7
  • 37
  • 59
17
votes
3 answers

Remove Actors from Stage?

I use LibGDX and move only the camera in my game. Yesterday I founded a way to draw the ground in my game. I'm trying to make a clone of Flappy Bird, but I have problems with drawing the ground which is moving on the screen. In every render call I…
Fabian König
  • 323
  • 2
  • 4
  • 10
6
votes
2 answers

Swift SpriteKit PhysicsBody forced as optional by Xcode

im having the following issue trying to code a flappy birds clone in Xcode 6 beta 7 with Swift and SpriteKit. After I add the physicsBody property to a SKSpriteNode I cannot change a property of physicsBody directly, for instance I cannot do the…
4
votes
1 answer

How can I scroll more than one object at the same time?

New question was asked after this one, found here. I'm new to Java, but I am working on a recreation of "Flappy Bird" to learn more about java and the way that graphics are displayed. Any solutions or suggestions to any of my questions is greatly…
Cyber Storm
  • 217
  • 1
  • 13
3
votes
1 answer

Pygame Collision Bug

I'm quite new to pygame and came across a bug that i just can't fix on my own. I'm trying to program a Flappy Bird game. The Problem is that the collision detection works, but it also messes with my sprites. If i manage to get past the first…
Klappadu
  • 33
  • 4
3
votes
2 answers

Sprite Kit different gravity for different sections

I am building a flappy bird game where half of the level is above water, and the other half is below water. If your bird is in the air, there is regular gravity and when you tap, an impulse is applied going straight up. If your bird is in the water,…
Kjell
  • 801
  • 7
  • 19
3
votes
1 answer

Smooth fly movement like flappy bird or jet pack joy ride with gravity and Accelaration

I am developing a simple game in which a character fly when you tap/click the screen. keep tapping the character will fly (some what similar to flappy bird and jet pack). However the movement is not smooth at all, as of jet pack. Here is sample of…
PHP Avenger
  • 1,744
  • 6
  • 37
  • 66
3
votes
0 answers

Animating Android Images in View

I'm trying to recreate Flappy Bird as practice for my Android coding. I didn't have to go very far before I became really confused. I've done a ton of research on how to move animations in the onDraw method, but all I can seem to find were tutorials…
user3376654
  • 67
  • 1
  • 9
3
votes
2 answers

How to spawn CCSprites in random heights like flappy bird

In the iOS game flappy bird, there are pipes that generate after a certain distance and they generate at random heights I am also trying to make flappy bird pipes (I called it a tree branch in my code instead of pipe). Except the pipes are moving…
Shalin Shah
  • 8,145
  • 6
  • 31
  • 44
2
votes
1 answer

bird falls down very quick on colliding with pillar

With this code I expect the bird to fall down with minimum speed on colliding with the pillar but the bird falls down in the blink of an eye - it's too quick. Is there any way to resolve this issue? console.log("welcome to flappygame.js 2023"); let…
Rahan Ajai
  • 87
  • 7
2
votes
0 answers

Reinforcement Learning solution for Flappy Bird with PPO algorithm

The quick summary of my question: I'm trying to solve a clone of the Flappy Bird game found on the internet with the Reinforcement Learning algorithm Proximal Policy Optimization. Apparently, I've faced an issue with designing the reward system. How…
2
votes
1 answer

Is there an event for starting timer2 once timer1 stops in C# Windows Forms application?

I'm building a Flappy Bird game in C#. So far, the code works perfectly, however I added a GIF saying Game Over, and this image only shows once timer1 is stopped. How can I achieve that? Below is the code snippet for the GIF image (I tried both…
2
votes
1 answer

When press a key to move the turtle up, my other turtles freeze

When I run my code and I move my turtle up with the space bar, all the obstacles, that are supposed to be moving, stop moving. What causes the problem and how do I fix this? I have no idea what can cause this problem and I've tried Googling but…
2
votes
0 answers

How can I use a ultrasonic sensor to move a sprite up or down?

I'm trying to make a similar game to flappy bird in python and using the ultrasonic sensor as the controller (it's all connected to a raspberry pi). if distance < 10, bird moves down, elif distance > 10 bird moves up. I am not too sure as to how I…
gravity_y
  • 21
  • 1
2
votes
1 answer

Public variable name in script does not match field display in inspector/editor

S0 I am following a Unity tutorial on YouTube. It is a flappy bird clone. Everything is going good but I ran into a piece of code that I just can't wrap my head around. I have attached to images ( one of the unity inspector and the other is the…
Narain Ramjieawan
  • 71
  • 1
  • 2
  • 11
1
2 3
10 11