Page 1 of 1

Another Question on Timers

PostPosted: Sat Apr 24, 2004 10:25 am
by ingsan
:D Hello ! My friends, today is Timers' Question DAY !

The Question today is : Is there a way to speed up a timer's Time, remembering that all the game should stay relative to Time ? :|

PostPosted: Sat Apr 24, 2004 11:39 am
by jazz_e_bob
Very good question my friend. :)

PostPosted: Sat Apr 24, 2004 11:44 am
by ingsan
:mrgreen:

PostPosted: Sat Apr 24, 2004 12:07 pm
by jazz_e_bob
Access to a global framesPerSecond property perhaps?

Ummmm :?

My brain is sore. :cry: :cry:

PostPosted: Sat Apr 24, 2004 12:10 pm
by ingsan
Ummmm :?

PostPosted: Sat Apr 24, 2004 6:20 pm
by makslane
What? :roll:

PostPosted: Sat Apr 24, 2004 6:29 pm
by ingsan
:mrgreen: Don't panic :mrgreen:

I have a timer with Time = A ms. I would like, on MouseDown event, this time to accelerate, like Time = A*2 or something like that :wink:

PostPosted: Sat Apr 24, 2004 6:51 pm
by makslane
To make?

PostPosted: Sat Apr 24, 2004 7:20 pm
by ingsan
Do you know the Hexacto's Lemonade.inc game ? or any other games like Sim City. You always have an option which enabes you to accelerate the time so as the game goes faster. That's on what I'm working on : Create a Main Timer that can be Accelerated while keeping all other timers present in game realive to it :wink:

PostPosted: Sun Apr 25, 2004 1:02 am
by makslane
Good luck

PostPosted: Sun Apr 25, 2004 2:46 am
by jazz_e_bob
:D :lol:

You want to change the speed that things happen without changing the frame rate.

Hmmmm

OK

You make a global real called gameSpeed.

Set it to 1.0.

Anytime you use a time-related event within the game you can factor in gameSpeed.

eg. CreateTimer, MoveTo...

Just ramblings really I'm sure there are limitations to this system.

seeya