Hi-Score record and Menu in paused game

Talk about making games.

Hi-Score record and Menu in paused game

Postby Bee-Ant » Mon Jun 11, 2007 5:50 am

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... :lol:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: Hi-Score record and Menu in paused game

Postby Sgt. Sparky » Mon Jun 11, 2007 12:11 pm

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... :lol:

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;
}

:D
and your enemy coding should look somthing like,
Code: Select all
if(pause == 0)
{
    //enemy actions...
}

:D
If that does not help I will make a Demo. :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

!!!

Postby Bee-Ant » Tue Jun 12, 2007 5:22 am

Boss, scripts are just make me headache...send me these demo plizzz...I had downloaded your multi score with name and fighting game...but, I'm still confused with these scripts... :oops:
User avatar
Bee-Ant
 
Posts: 3723
Joined: Wed Apr 11, 2007 12:05 pm
Location: http://www.instagram.com/bee_ant
Score: 210 Give a positive score

Re: !!!

Postby Sgt. Sparky » Tue Jun 12, 2007 2:38 pm

Bee-Ant wrote:Boss, scripts are just make me headache...send me these demo plizzz...I had downloaded your multi score with name and fighting game...but, I'm still confused with these scripts... :oops:

look at the scripts and look what they do, also play around with them and remove stuff and see what it does. :D (it is a Demo.)

Edit: oh wait! you want a pause Demo!
I will make one very fast. :D
Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score

Postby Sgt. Sparky » Tue Jun 12, 2007 3:08 pm

Image
Random Links:
viewtopic.php?p=19474#19474
Right now (10/14/2009) I'm working on some C++ projects, but I might be able to help if you have some Game Editor questions. :)
User avatar
Sgt. Sparky
 
Posts: 1850
Joined: Sat Oct 07, 2006 5:28 pm
Location: Somewhere out there, beneath the pale blue sky...
Score: 236 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron