Bee-Ant wrote:How to make High Score record and list at the end of game???if the game are game over or if the game finished???
How to make menu when game paused???such as..
=> Resume
Option
Exit to Main Menu
Exit Game
And how to make the control changeable???Thank's a lot...
I made a High Score Demo:
http://game-editor.com/forum/tp-3572-Mu ... ames-.html
as for the pausing,
make a variable called direct(float, global), and one called Angle(integer, global), and one called pause(global, integer).
now, for the draw actor event of the player,
- Code: Select all
if(pause == 1)
{
directional_velocity = 0;
EventDisable("Event Actor", EVENTALL);
EventEnable("Event Actor", EVENTANIMATION);
}
if(pause == 0)
{
//yvelocity actions and the rest
//of your code =)
}
and for the key down event of the puase button or P for the view,
- Code: Select all
if(pause == 0)
{
direct = player.directional_velocity;
Angle = player.angle;
pause = 1;
}
else
{
pause = 0;
player.angle = Angle;
player.directional_velocity = direct;
}
and your enemy coding should look somthing like,
- Code: Select all
if(pause == 0)
{
//enemy actions...
}
If that does not help I will make a Demo.