Pause Game (So Can Answer Telephone)

Non-platform specific questions.

Pause Game (So Can Answer Telephone)

Postby jazz_e_bob » Mon Aug 30, 2004 12:15 am

I'm having trouble using PauseGame.

I can get the "p" key to pause and unpause.

But I am finding it hard to create a "Paused - Click To Resume" graphic actor.

Feel free to thow any ideas my way... :-)

Image
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score

Postby makslane » Wed Sep 01, 2004 12:41 am

1) When the user want to pause, Create your pauseActor ("Paused - Click To Resume")

2) On Draw Actor event of pauseActor add a Script Editor action with code:

PauseGameOn();

3) On Mouse Button Down event, add a Script Editor action with code:

PauseGameOff();
DestroyActor("Event Actor");
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score

Postby jazz_e_bob » Wed Sep 01, 2004 1:31 am

I knew it would be something simple. :oops:

Thanks for your time mate. :)
Controlling complexity is the essence of computer programming.
User avatar
jazz_e_bob
 
Posts: 742
Joined: Tue Jul 01, 2003 9:38 pm
Location: Bloke from Cockatoo Creek Australia
Score: 14 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest