Skip to content

v0.4.8

Choose a tag to compare

@BithreenGirlen BithreenGirlen released this 12 Nov 00:39
· 69 commits to main since this release

Runtime changes

  • Transform based on the size of render-target, instead of the size of window.
  • Remove virtual Redraw() from base spine player class.
    • This is for compatibility with other rendering libraries in which render-target cannot be obtained globally like SFML.
  • Be able to set/reset the base size of Spine(s).
    • By default, the size of Spine is derived from file specification. But some effects may be far away from the background or body slot that it is required to set base size so as to make them out of local coördinate.
      • For Spine 2.1, changed size cannot be restored to the default one except reloading bacause of the lack of empty animation entry.
  • Avoid Clearing 0-th track for Spine 2.1.
    • Clearing 0-th track would result in the state of no tracks contrary to later runtimes in which at least one animation track named "empty" remains.

Viewer changes

  • Add functions to export via graphic handle.
    • Filepath manipulation for GIF and MP4 is moved from main class to recorder class.
    • These functions are not used in this version though, they are helpful when rendering into graphic handle created by DxLib::MakeScreen() and exporting it.
  • Add class to construct menubar and context menu.
    • Child menu items will not be expanded without clicking once Spine has been loaded because they are CPU-driven and there would be no events to cause them to be painted.
  • Fix condition to set resizable window style.
    • An intension was to forbid dragged resizing of window while video recording, but actually had been setting resizable style regardless of the former style once recording had finished.
Example to set base size
  • Scaling will be performed accroding to the manually set frame.
Refit.frame.mp4