-
Timed Action
Ive got a question about timed actions. Would it cause a slow down if you use the 'Every 00-01' condition to add 1 to counter. I use a global timer with counters that I use to time actions in the game per frame instead of seconds. Would that be a huge performance hit?
-
Re: Timed Action
In my case, I found that it doesn't happen every 00-01' so I set my counters to every 00-10' as a workaround.
-
Re: Timed Action
oh I see. I would assume it is not a good idea to use exact time to set actions due to speed on different devices? Basically if I want to create an object at 1 second, then another one at 1:30 seconds. What would be the best way to do this? I am waiting on snow leopard to update my macbook pro so I can install the latest iOS SDK so I cannot test the app.
Thanks =)
-
Re: Timed Action
The best way is to use the timer equals condition. It will work the same whatever the speed of the machine...
-
Re: Timed Action
Yes Francois but the timer conditions don't support expressions.
Renatos, I think you should use the timer expression that returns the number of milliseconds since the beginning of the frame and play with that.