This site requires JavaScript, please enable it in your browser!
Greenfoot back
AlfinJr
AlfinJr wrote ...

2015/1/12

Problem game over flappy bird

AlfinJr AlfinJr

2015/1/12

#
I am a bit of trouble while making the game Flappy Bird , difficulty while making the " Game Over " , can you tell me step by step his example of screenshots or videos or text
xFabi xFabi

2015/1/12

#
get a Condition for the gameover screen to get triggered e.g if bird is hit, Example = 1 then use
1
2
3
4
if( Example == 1) {
addObject(Gameover,x,y); // ( if centered x= getWorld().getWidth()/2 y= getHeight()/2
Greenfoot.stop();
}
Ofc you have to create a gameover class, with the image set to the screen u want it to look like
You need to login to post a reply.