Skip to content

Mirin Template 4.0.0

Compare
Choose a tag to compare
@XeroOl XeroOl released this 11 Aug 19:39
· 115 commits to master since this release

Here we go! A bunch of bug fixes and cool features in this version.

New Features

  • Time based mods !!!!!!!
    • You can now add a time=true to any ease/set/add/func/reset/acc to switch the units to seconds instead of beats
    • Time based and beat based mods can overlap with no issues
    • Time based mods behave consistently, regardless of globaloffset
  • New shorthand forms for things!!!
    • Ever written a func that does just one thing? Now you can write it with the "everything eater" shorthand that works with any actor method:
      func {0, 'myactor:diffuse', 0.0, 0.1, 0.5, 1.0}
    • Want to write a simple definemod or node? Now you can write simple definemods with this super convenient shorthand:
      definemod {'videogames', 25, 'flip', -75, 'invert'}
  • New Additions!!!
    • You can now reset with only a small list of mods using only= with reset. It's like the opposite of the exclude= feature!
    • New acc function, which is like set, but relative!
    • New backToSongWheel function for when you want to convey an error to the user without creating an error box.

Bug Fixes

  • Eases with parameters now work correctly with func
  • Fixed instability when using "Play Current Beat to End" in the editor
  • setdefault is now case insensitive
  • reset's exclude= now deals with aliased mod names properly
  • overwriting template provided functions, like running ease = nil no longer breaks things
  • Stronger detection against mod names with typos
  • Better error messages when the user calls template functions after the update loop is running
  • and more!

Changes

  • Huge code refactor.
    • Everything is now more organized
    • Error checking is done in its own section and doesn't get in the way of the logic as much
    • It should be a bit easier to tell what's going on in template.xml! Dive in and tell me what you think!
  • Switching back from SystemMessage to actual Error Boxes again
    • Error boxes should only pop up once, not every frame
    • After an error box, the template stops running the update loop
  • The get function was causing confusion, and it's now gone 🦀🦀. We'll miss you!