Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
gdevelop5:all-features:timers [2019/06/13 21:44]
piyushpalawat99 [Object timers]
gdevelop5:all-features:timers [2020/04/22 22:18] (current)
hiran [Scene Timers]
Line 4: Line 4:
  
 You can use conditions and actions to launch **scene** timers. Then you can run actions when a timer reaches a certain value. You can use conditions and actions to launch **scene** timers. Then you can run actions when a timer reaches a certain value.
-The most useful timers are seen when used in a condition to compare the time elapsed in a timer and the action to reset a timer to 0. It is important to remember ​to always reset a timer prior to using it. If the timer doesn'​t ​exist, it will be created automatically in memory.+The most useful timers are seen when used in a condition to compare the time elapsed in a timer and the action to reset a timer to 0. It is suggested ​to always reset a timer prior to using it. If a condition or action access a timer that does not exist, it will be created automatically in memory.
  
 You can give any name to your timers. _Timer names are text/string expressions,​ so they must be entered between quotes!_ You can give any name to your timers. _Timer names are text/string expressions,​ so they must be entered between quotes!_