Skip to content

Releases: kemonologic/fuwafuwa

1.2.0

28 Jul 01:52
Compare
Choose a tag to compare

A guide to updating projects to 1.2.0 is here, but existing code should continue to work as-is for now.

  • Added timer_stop, allowing a timer to be halted and its progress reset simultaneously
  • Added new argument to timer_set_script, allowing execution of scripts on resume (fuwaevent.onResume) and pause/stop (fuwaevent.onHalt)
  • You can now remove scripts previously assigned to a timer (in timer_set_script, set executeScript to -1 and optionally specify the event to clear, default being fuwaevent.onComplete)
  • timer_unpause has been renamed to timer_resume
  • timer_create_paused has been renamed to timer_create_stopped
  • timer_get_paused has been renamed to timer_get_halted
  • Internal: RESTARTED_THIS_FRAME has been renamed to REPEATED_THIS_FRAME (internal) and updated references to it
  • Internal: Updated script fuwa_script_called

1.1.4

13 Nov 23:34
Compare
Choose a tag to compare
  • Scripts attached to timers now fire before the next node is chosen, allowing those timers to (e.g.) pick up on new nodes appended by the script
  • Sequence duration is now properly updated whenever functions like timer_set_duration are called - these returned stale values for functions like timer_get_sequence_duration before
  • Sequence durations are now consistently stored as internal units and converted to external units in the relevant functions. This caused inconsistent behavior when checking sequence duration before
  • Small fix to internal script

1.1.3

15 Jul 20:32
Compare
Choose a tag to compare
  • Fix missing reference on autodestroy GC fast path

1.1.2

27 Jun 20:38
Compare
Choose a tag to compare
  • Fix typo in new timer_unpause optional argument

1.1.1

27 Jun 18:36
Compare
Choose a tag to compare
  • Changed the method by which timers are offset when unpaused to prevent weird stuff from happening on raw/ease value checks, etc
  • Add optional clearRestartFlag argument to timer_unpause, allowing bypassing timer_check returning true on manually restarted timers

1.1.0

05 Jun 03:36
Compare
Choose a tag to compare
  • Add argumentArray parameter to timer_set_script so that it's actually useful!
  • Fixed typo in config

1.0.0

04 Jun 20:21
Compare
Choose a tag to compare
  • Added timer sequences, and modified existing functions to accept timer sequences (e.g. timer_create can now take an array as the first argument)
  • Completely overhauled garbage collection & removed GC on timer_check since many timers will be reused, etc
  • Fixed overridePingpong flag in raw/ease value functions
  • Cleaned up documentation
  • Added some utility scripts

GMS 2.3+ occasionally may completely wipe some functions on import for unknown reasons. If this happens, try importing again and it should be fixed.

0.3.1

28 May 02:45
Compare
Choose a tag to compare
0.3.1 Pre-release
Pre-release
  • Add ping-pong support (timer_get_pingpong / timer_set_pingpong)
  • Fix minor value caching bug for ease/raw values

0.3.0

27 May 17:36
Compare
Choose a tag to compare
0.3.0 Pre-release
Pre-release
  • Getters/setters are now in timer units, so (for example) a timer set for 5 seconds will now return 5 (s) and not 5000 (ms) when checking its total duration with timer_get_duration. For the legacy behavior (everything in ms/frames), enable _FUWA_OPTIONS_USE_BASE_UNITS in _fuwa_config
  • Deprecated time.start enum - do a find/replace for time.start. -> time. if upgrading from prior versions. (don't skip the dot!!!)
  • timer_get_numfinished now returns the correct value
  • Store the normalized progress value to skip recalculating it when unnecessary
  • Added timer_get_unit_string to return the unit as a string, with optional argument to turn off indication of framelocked units
  • Added timer_get_ease_type_string to return the ease type as a string
  • Updated test project

0.2.9.1

18 May 21:31
Compare
Choose a tag to compare
0.2.9.1 Pre-release
Pre-release

Fix occasional issue with deactivating timers too early causing non-repeating timers not to fire