Game pauses after 8 minutes.

Talk about making games.

Game pauses after 8 minutes.

Postby robin.deman » Mon Aug 21, 2006 9:32 am

Hi there,

I got a question, maybe somebody can help me with this one.

I made a game and exported it to my SmartPhone, it works great.
But i wanted to make an pause function in the game.

If i run the game and wait for 8 minutes, it automaticly pauses the game and shows 2 options, Continue Game and Exit.

Since it shows that it is possible, I was wondering if it is possible to enable this function while running the game?

> Anybody?.. <
User avatar
robin.deman
 
Posts: 70
Joined: Sat Nov 12, 2005 9:50 am
Location: Netherlands
Score: 0 Give a positive score

Postby makslane » Mon Aug 21, 2006 1:09 pm

You can create a 8min timer (480000ms) and on timer event, show the options and call the pause function. If the user take some action in the game (screen tap, key down...), you can reset the timer (just destoy and create again).

But now, there is a bug with long timers that will be solved in the next version.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to Game Development

Who is online

Users browsing this forum: No registered users and 1 guest

cron