Wednesday, 28 March 2012

Creating a Completed Scene and Behaviour

For the completed scene I used the background from the start game slide too. I then used the same process as the start screen for the buttons so I had an animation that flipped the image around when the mouse was scrolled over it, I included this into the game as an actor with no physical properties. To get the behaviour I duplicated the already existing "Start Game" behaviour and renamed the duplicated version "Restart Game" and then set this behaviour to the restart button actor I have created. I have included the images of the two characters on the completed page too, I felt this was a good touch as it helps the overall theme.
Restart button when scrolled over

Original image of restart button

Screen shot of the completion screen

Code to restart the game

No comments:

Post a Comment