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

How to make enemies move across the screen

import pygame import sys import os import random pygame.init() path = os.getcwd() bg = pygame.transform.scale2x(pygame.image.load(f'{path}/Images/index.jpg')) char = [ pygame.transform.rotozoom(pygame.image.load(f'{path}/Images/R1.png'), 0,…
1
vote
2 answers

pipes spawning too fast in flappy bird pygame

Im working on this flappy bird pygame tutorial and when I tested the code the pipes spawned in too fast. I'm using a tutorial since I'm fairly new to python and would appreciate any help. Thanks. Here is the link to the tutorial website:…
Haadi Khan
  • 21
  • 1
1
vote
1 answer

AI Flappy Bird doesnt mutate corectly

i am new to programming and especialy at programming ai. I am sorry if the problem is stupid or easy to fix. I have created a primitive flappy bird game with neural network to controll it. Every thing goes ok until all the birds die. After all…
1
vote
3 answers

Flappy Bird Rotation Algorithm

I am writing a flappy bird clone with c++ and DirectX. I am basically finished, except for the algorithm for the rotation. I have one now (rotation = ((90 * (yVelocity+10) / 25) - 90)/2;), but it does not act the same way as the original flappy…
1
vote
1 answer

Objects flashing occasionaly in Flappy Bird pygame

I have coded so far almost the whole Flappy Bird game but the bird, the ground and pipes start "flashing" sometimes. Normally the bird and the ground flash at the same time, when the pipes flash at a different time than the other objects, and…
AmanoSkullGZ
  • 141
  • 1
  • 1
  • 7
1
vote
1 answer

Increase the speed of an object as it moves (Tkinter)

I'm still programming my Flappy Bird game and I'm starting the "debugging" part now For that, I repaired some problems like the text of the score which did not appear and I even customized the icon as well as the name of the window (little attention…
1
vote
1 answer

How to handle collisions with coordinates? (in python)

I'm programming a Flappy Bird and I'm almost done, but I only miss one thing: the collisions between the bird and the pipes ... I managed to make sure that if the bird hit the ground or disappears from the screen, the game is over (thanks to the…
1
vote
1 answer

The Pipes in my Pygame Flappy Bird clone lag and jolt around instead of moving fluidly

Below is the basic code for creating and managing the pipes of the game: import pygame as pg import sys,os,math,time,random # colours white = (255,255,255) red = (255,0,0) green = (0,255,0) # general stuff WIDTH = 1024 HEIGHT = 576 FPS = 60 #…
1
vote
1 answer

Make physics change with self.speed in a Flappy Bird style game in SpriteKit?

I am currently using SpriteKit to create a Flappy Bird style game. I want the game to speed up under certain conditions, to make the game more difficult. At the moment, I am doing this via incrementing self.speed. This works well for speeding up the…
Ethan Humphries
  • 1,786
  • 3
  • 19
  • 28
1
vote
2 answers

Collision with image (irregular shape)

I'm currently making flappy bird and I changed it from just rectangles to my own images and such. I can't seem to figure out how to do it so when the bird (irregular shape) hits the rectangle, it dies. I don't know how to code for a collision when…
1
vote
0 answers

Removing Sprite on collision and keeping copies of same sprite

I have created a clone of the app Flappy Bird, and I’ve tried to add coins which appear randomly around the game. My problem is I try to make the coins disappear when the bird collides with them, but it has proven a difficult task. I have a function…
1
vote
1 answer

Why my Players life disappear at once?

I am new in unity and I am developing game like Flippy Bird where if my player is collide with another object then one life of my player will disable and the collider is travel from one place to another place and there is so many colliders and the…
user3955066
1
vote
2 answers

LibGDX, flappy bird clone, creating BUTTON

I am developing a flappy bird clone, and I really got stuck with this button that I want to create. I am sorry, I know this is a basic question, but I am beginner and I really need your help. So, the game is pretty much finished, but instead of…
1
vote
1 answer

stop impulse on SKSpriteKit click

i'm trying to create an pause button in my game. at the moment when you click on the screen it will apply an impulse on the mover spriteNode. The problem is that it still applying the impulse when i click the pause button. How can i create an pause…
user3423384
  • 667
  • 2
  • 8
  • 18
1
vote
1 answer

SpriteKit - Change Animation at SKPhysicsContact

I am very new to Sprite Kit game development. I am currently developing my first game - a simple game where the player must navigate a simple object past obstacles. If the object collides with an obstacle - GAME OVER. I got that to work fine but I…
1 2
3
10 11