highscore and pausing

Non-platform specific questions.

highscore and pausing

Postby Zehper48 » Wed Aug 08, 2007 7:24 pm

whats the code to pause and unpause a game
and how do you make a highscore table where you can like type in 3 initials or sothing and how do you make a basic highscore table with 10 highscores, i know how to load and save variables?
thanks
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby Rux » Wed Aug 08, 2007 8:28 pm

The code for pause and unpause is soooooooooooooo easy.

1. Create a var, called pause.

2. on the button down for pause (no repete) type in script editor ,
Code: Select all
if(pause == 0)
{
    PauseGameOn();
    pause = 1;
}
if(pause == 1)
{
    PauseGameOff();
    pause = 0;
}


This should work. :wink:
I'm not good at coming up with signatures...
User avatar
Rux
 
Posts: 645
Joined: Sun Apr 29, 2007 9:26 pm
Location: Sitting on your moniter invisable.
Score: 35 Give a positive score

Postby Zehper48 » Wed Aug 08, 2007 8:42 pm

thanks Rux i got the pause button working but can anybody tell me how to make a highscore with names?
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby arcreamer » Thu Aug 09, 2007 1:51 am

hey rux i did exactily what u said and when i hit p, nothing happens
arcreamer
 
Posts: 398
Joined: Tue Jul 03, 2007 4:08 pm
Score: 9 Give a positive score

Postby Zehper48 » Thu Aug 09, 2007 7:12 pm

somebody should make a demo of a highscore table with 10 highscores and you can add names! that would be cool
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby Sgt. Sparky » Thu Aug 09, 2007 11:38 pm

Zehper48 wrote:somebody should make a demo of a highscore table with 10 highscores and you can add names! that would be cool

I made one exactly like that:
http://game-editor.com/forum/tp-3572-Mu ... ames-.html
(always Search. :D)
:D:D:D: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 Zehper48 » Fri Aug 10, 2007 8:56 am

that is a good demo but i cant figure out how to get it into my game i can figure out how you did most of it =(
User avatar
Zehper48
 
Posts: 241
Joined: Sun Jun 11, 2006 1:34 am
Location: Advanced Noob
Score: 4 Give a positive score

Postby Sgt. Sparky » Fri Aug 10, 2007 3:26 pm

Zehper48 wrote:that is a good demo but i cant figure out how to get it into my game i can figure out how you did most of it =(

Just look at the all the script events.
how:
    1. click on the script button.(it is to the left of game mode.)
    2. click on on of the events listed in the box that will pop down(it is more like a rectangle) and look at all the events there

: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 diablos-bud » Fri Aug 17, 2007 7:05 pm

The high score GE file is from an old version of GE...can you make a newer one for me?

Please?
diablos-bud
 
Posts: 10
Joined: Wed Aug 15, 2007 2:07 am
Score: 0 Give a positive score

Postby Sgt. Sparky » Sat Aug 18, 2007 3:35 pm

diablos-bud wrote:The high score GE file is from an old version of GE...can you make a newer one for me?

Please?

there should not be a problem, what is wrong with it being from an older version.(GE can use and open up .ged files from all current and older versions of GE.)
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 General

Who is online

Users browsing this forum: No registered users and 1 guest

cron