Running in the background

Get help using Construct 2

Post » Wed Nov 27, 2013 10:40 am

Hello.

I have come across a problem that I cant seem to solve by myself. So I hope you can help me.
When my game is minimized to windows start bar, the game pauses.
I would like to know if there are any ways to make the game not pause, but continue running in the background.

The reason for this is that my game is going to have a counter that continuously adds points to the player.
Much like cookie clicker continues to add cookies, even when the game is not active.

Hope any of you can help me. Thank you.
B
6
S
2
Posts: 10
Reputation: 516

Post » Wed Nov 27, 2013 12:16 pm

hmm just an idea... Couldn't you store the system time & date at given intervals during gameplay.. and then use the time difference between last saved time and current time to calculate the points given during pause?
Image
Get it on Google play or play on papio.nu
B
11
S
2
Posts: 79
Reputation: 786

Post » Wed Nov 27, 2013 7:37 pm

so one can cheat by changing the system time
B
6
S
2
Posts: 10
Reputation: 516


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 34 guests