Transition, hause, timer

Good day!!

How to make the “transition” cycle was repeated during the lifetime of the scene?

When using infinite loop, the computer freezes.

How to make a pause in your code?

How to organize a timer?

You can use :

  • Lua Coroutines to get the stop-start functionality in your lua script terminology as per thread mechanism.

  • You can keep track of timer via its reference on global level & manage it through application events or hooks.

  • Handling Memory leakage refer this : http://stackoverflow.com/a/40458983/5816155

  Assif

You can use :

  • Lua Coroutines to get the stop-start functionality in your lua script terminology as per thread mechanism.

  • You can keep track of timer via its reference on global level & manage it through application events or hooks.

  • Handling Memory leakage refer this : http://stackoverflow.com/a/40458983/5816155

  Assif