Scrolling Game Development Kit Forum
SGDK Version 1 => Help/FAQ => Topic started by: Orfeous on 2005-12-15, 01:26:38 PM
-
Hi!
I have followed the quickstart tutorial and found that i can play little with settings.
Now i have changed the gravity to -5 so the red ball will go up on screen if you unpress the downbutton.
So i thought that if the players red ball have a contact with the white solid wall.. then the game will stops and a message will apperar.. like "Gameover, retry again?" then you can press yes/no if you wanna try again or not.
Maybe its possible to add a score system? longer the times running in the "maze" more score you have.
then when the player contact the wall then the score will be on a highscore..
is this possible to do? i want a "gameover-sound" also..
-
That's quite simple to do, actually. You would simply create a tile interaction with all of the ground tiles (which you should already have in a set) that activates a special function to go to another map. Then create a sound effect for game over that is linked to that special function.
All the special function does is goes to a new map that allows you to choose to play again or not.
If you need any help specifically with any of these specifics, ask away.