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

Nodes disappear from portrait to landscape mode (Sprite Kit | Swift | Flappy Bird)

I am working on a Flappy Bird clone. I'm running into a bug where my ground nodes disappear when I switch from portrait mode to landscape mode. EDIT: I am basing my code off this: https://github.com/fullstackio/FlappySwift As you can see, Kirby…
Mike
  • 1,307
  • 3
  • 17
  • 29
0
votes
0 answers

jQuery spawning div randomly and removing it when offscreen

So im almost at the end of my school homework project im just missing two major things i can't seem to figure out: 1.How to spawn the pipe obstacles with a random position for the gap so the bird can fly through (tought of using a function which…
Arie Pinto
  • 1,274
  • 1
  • 11
  • 19
0
votes
1 answer

jQuery animate() smoothing

Im trying to make a inverted flappy bird game like and im facing one big problem. I try to spawn pipes obstacles from top to bottom but the animation looks very fake like a text editor and not smooth so how can i smooth it? i tried using…
0
votes
1 answer

Unity: FlappyBird controls don't working on Android, how should I do this?

I made a Flappy Bird-like game in Unity 2D for Android. I's working & running on my device, but there is one problem with the contsols:If i tap the screen the bird flaps and flyes, but if I hold the screen the bird is keep going up and up.. I want…
0
votes
0 answers

How best to determine with a sprite has been pushed off-screen?

I'm developing a Flappy Bird clone (for learning purposes only!), but am a little confused when trying to detect when the bird has been pushed off-screen. My plan was something akin to if bird.position.x < 0 { // Bird is off screen, game…
user1381745
  • 3,850
  • 2
  • 21
  • 35
0
votes
2 answers

LibGDX flappy bird clone, Scene2d actor (button)

So, I am developing a flappy bird clone. I created a button which bounces the bird. What I also want for this button is to draw something (totally irrelevant at this point). But not each time the button is hit. I already tried this with: if…
0
votes
2 answers

detecting touch on specific area in Flappy bird clone

So, I am making a flappy bird clone. The thing is that I am new in programming with java and libgdx, and I would kindly like to ask you for your help. I would like to make a touch detection on a specific area (just a simple rectangle shape), instead…
0
votes
1 answer

cocos2d flappy bird demo

I am working with the flappy bird demo trying different things just to get to "know each other". Going through the demo, I've managed to change the direction of the game to vertical scroll moving upwards. Having reversed the CGFloat to negative…
0
votes
0 answers

Xcode5 In my simple flappy bird clone, how would I generate tunnels faster?

My flappy bird clone doesn't use Spritebuilder. It is just a simple app, which I find almost exactly the same. I can regenerate tunnels every time they reach the end of the screen but that just makes the game slow because the bird has to wait the…
0
votes
2 answers

Smooth Movement in Objective C

My Sprite jumps on the screen and looks laggy. I was wondering on how to make the movement smoother and not as laggy. The code I use for movement is below. birdMovement = [NSTimer scheduledTimerWithTimeInterval:0.25 target:self…
0
votes
1 answer

Cocos2d, using greater than and less than limits on an integer value to display a sprite

I'm using cocos2d to create a DNA themed Flappy Bird style game (long story, don't expect to make any money off of it). I'm trying to create a system of rewarding a "medal" based on the score reached on a certain round. I'm using and greater than…
0
votes
3 answers

How to make controls similar to flappy bird in cocos2d

I am making a game in cocos 2d v2 and was wondering how to make my controls similar to flappy bird so when you tap it slowly moves up and when you let go it drops. I am trying to use ccTouchesBegan and ccTouchesEnded but this isn't working quite…
0
votes
0 answers

SKPhysicsContact crash - Bad Access

Ok, so I'm quite confused. I set my viewcontroller as the delegate for the physicsworld. When my Flappy Bird collides with a coin, this method gets run: - (void)didBeginContact:(SKPhysicsContact *)contact { if (contact != nil && contact.bodyA !=…
Kjell
  • 801
  • 7
  • 19
0
votes
1 answer

How do I present UIViewController from SKscene with social framework?

I am making a game like Flappy Bird. How do I present a UIViewController from SKScene? First of all, I tell my environments Mac OS X 10.9 Xcode 5.0.2 Sprite Kit(framework), social.framework(framework) are added in my project My goal is to…
0
votes
2 answers

Move multiple CCSprite across the screen Cocos2dx

I have an Init method and spawn() method which is called by a CCAction every 2 seconds! What i want is to move pipePair node across the screen every 2 seconds, something like in the flappy bird game! But in my case am not able to add multiple pairs…
Harsh
  • 2,852
  • 1
  • 13
  • 27