Skip to content

Release 1.3 - Animation & State Workflows

Compare
Choose a tag to compare
@Grisgram Grisgram released this 04 Aug 09:35
· 581 commits to main since this release

Release 1.3 - The State & Animation update

This update does not contain an *_update.yymps, as there were changes in the Game_Configuration script and raptor is now released containing a release configuration on project level.

This version contains some bug fixes and new features for the Animation and StateMachine classes.

Bug Fixes

  • The Edges class may crash if used on a sprite without nineslice information
  • Tooltip positions in UI Layer on the HTML5 target
  • MessageBox Window position in UI Layer on the HTML5 target

New Features

  • New convenience macro IS_MOBILE
  • Animation
    • New optional state parameter for the Animation constructor and the animation_run functions (see Animation Functions (Class) and Animation Functions (Global))
    • New method is_active which tells you whether an animation is running or still waiting to start (delay)
    • New method get_remaining_frames tells you, how many frames to go
    • New method get_frame_counter returns the current frame of the running animation (zero while waiting for delay)
  • StateMachine

See Animation meets StateMachine for detailled documentation of the new features!