(solve)Make sure that 1 second is 1 second on every computer

Get help using Construct 2

Post » Sat May 02, 2015 4:31 pm

I made a system timer in game and now it seems that the 1.3 seconds is different in every computer, or the same physics event takes longer in some older computers. How should I fix it so no one can cheat, or the game would not be harder for a players who has better computer?
Last edited by sorbias on Sat May 02, 2015 5:05 pm, edited 1 time in total.
B
11
S
1
Posts: 63
Reputation: 658

Post » Sat May 02, 2015 4:55 pm

use dt (delta time)... which is relative to each computer
B
97
S
32
G
16
Posts: 1,199
Reputation: 16,680

Post » Sat May 02, 2015 4:59 pm

Use dt or a few other ways
anyways I've recently read that capturing the system time and then saying that as a variable and then using that as the timer might be the best idea. Their are a few plugins or this tutorial:
https://www.scirra.com/tutorials/940/how-to-easily-capture-date-and-time-and-insert-them-in-a-project

Opps somebody beat me to it :P
Last edited by MythStylz on Sat May 02, 2015 5:10 pm, edited 1 time in total.
B
9
S
2
Posts: 54
Reputation: 638

Post » Sat May 02, 2015 5:06 pm

Thank you guys, ill try to figure those out. Every time i keep going deeper into C2 and my game concept, i see how well they've done C2 and how much too ambitious is my first own game ever, but i am not going to give up! :D
B
11
S
1
Posts: 63
Reputation: 658

Post » Sat May 02, 2015 5:09 pm

Lol, that's exactly what I did with my first (and only so far) game. Two months in I was like alright it's good enough for now I gotta work on something else!
B
9
S
2
Posts: 54
Reputation: 638


Return to How do I....?

Who is online

Users browsing this forum: David181, dop2000, jorgmaquoi, MPPlantOfficial, unicornspitfire and 28 guests