Game Time and Save Time

Get help using Construct 2

Post » Wed Aug 29, 2012 6:00 pm

Hi, my next new game is already finished and i`ve been fighting with the time line for the game quite long. So if i create variable "Time" it goes 1,2,3..60,61,124... i need to make it in minutes 1min:24sec and if possible milliseconds.

I have 10 levels and time is running through every level, so in the end a highscore should appear, example 20m : 21s and 123 ms. Also i have problem saving the last best score.

Please help this is the last thing for my game.

Thanx
B
10
S
3
G
3
Posts: 54
Reputation: 3,317

Post » Wed Aug 29, 2012 8:02 pm

I think you'll have to save the score and time separately for each screen, and then if necessary add to display.
B
37
S
8
G
4
Posts: 85
Reputation: 5,099

Post » Fri Aug 31, 2012 5:44 pm

Yes, the problem is that i don`t know how to do that. I know how to save global variables but cant make variable to go in minutes and seconds, also when the stage is finished in shorter time it need to be saved automatically, if the time is longer than the previ?us shortest should stay.

Some capx. or screenshots would be nice.legora2012-08-31 17:46:07
B
10
S
3
G
3
Posts: 54
Reputation: 3,317


Post » Fri Aug 31, 2012 7:00 pm

Thx for the quick reply i`ll check this, its almost the same thing what i need.
B
10
S
3
G
3
Posts: 54
Reputation: 3,317


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests