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 ?
Posted: Sat Apr 24, 2004 11:39 am
by jazz_e_bob
Very good question my friend.
Posted: Sat Apr 24, 2004 11:44 am
by ingsan
Posted: Sat Apr 24, 2004 12:07 pm
by jazz_e_bob
Access to a global framesPerSecond property perhaps?
Ummmm
My brain is sore.
Posted: Sat Apr 24, 2004 12:10 pm
by ingsan
Ummmm
Posted: Sat Apr 24, 2004 6:20 pm
by makslane
What?
Posted: Sat Apr 24, 2004 6:29 pm
by ingsan
Don't panic
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
Posted: Sat Apr 24, 2004 6:51 pm
by makslane
To make?
Posted: 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
Posted: Sun Apr 25, 2004 1:02 am
by makslane
Good luck
Posted: Sun Apr 25, 2004 2:46 am
by jazz_e_bob
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.