Migration guide: 1.1.x to 1.2.0 - kemonologic/fuwafuwa GitHub Wiki

Migrating projects from 1.1.x to 1.2.0

All previous code should work as-is due to some extra checks & a compatibility script, please make the following changes to your code to avoid future issues:

  • Delete the fuwafuwa folder and import the 1.2.0 package (as in all upgrades)
  • Replace timer_unpause with timer_resume
  • Replace timer_create_paused with timer_create_stopped
  • Replace timer_get_paused with timer_get_halted
  • (Optional but recommended) If you are using the scriptScope argument in timer_set_script, it's suggested that you add fuwaevent.onComplete as the argument immediately before it to avoid ambiguity
    • Before: timer_set_script(myTimer,myScript,[myArguments],myInstance);
    • After: timer_set_script(myTimer,myScript,[myArguments],fuwaevent.onComplete,myInstance);