How do I add coins to Flappy Bird clone.

Get help using Construct 2

Post » Sun Mar 22, 2015 4:26 pm

Hi. I've produced a flappy bird game with but I'm having trouble adding coins in between the pipes. Can anybody help me out or direct me to a tutorial or help guide there might be on here. Thank you!
B
3
Posts: 2
Reputation: 179

Post » Sun Mar 22, 2015 5:31 pm

Do you mean randomly spawning coins between pipes or making the player's coin amount go up when they collect the coins?
B
12
S
3
Posts: 129
Reputation: 1,131

Post » Sun Mar 22, 2015 6:06 pm

firezombie444 wrote:Do you mean randomly spawning coins between pipes or making the player's coin amount go up when they collect the coins?

Just spawning them. My plan is to have coins in between the pipes, so the bird can collect them.
But as it's just a prototype right now, once the bird collides with the coin, the coin will destroy it's self.

I tried adding a coin in, but the top pipe spawned on the left side of the screen and the coin wouldn't scroll, it'd just stay stationary.
B
3
Posts: 2
Reputation: 179

Post » Sun Mar 22, 2015 7:56 pm

Add an anchor behavior to the coins. That way the coins will stay in the same place until the player collides with them.
B
12
S
3
Posts: 129
Reputation: 1,131


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests