Skip to content

Lore Engine v0.7 - The Scripting Update

Compare
Choose a tag to compare
@sayofthelor sayofthelor released this 12 Jan 07:16
· 72 commits to main since this release

Lore Engine v0.7 has been released!

The documentation for this release is not yet done, as I'm working on moving to a more streamlined wiki.

Added (New Features)

  • Haxe scripting system using hscript
  • Supported extensions are: .hx, .hxs, .hsc, .hscript
  • These scripts have slightly different function names from Lua, but the important ones are:
  • onCreate(), onCreatePost(), onUpdate(elapsed), onUpdatePost(elapsed) are create(), createPost(), update(elapsed), updatePost(elapsed), etc.
  • Basically they're more in line with Haxe function names, check source/lore/FunkinHX.hx for a list of all callbacks
  • These run in PlayState, just like Lua scripts, but also...
  • Custom states!
  • You can either switch to states in the states folder from a Haxe script, or, if the file has the same name as some states and is in the states/override folder, it will completely override a state!
  • A mod is included as an optional download (recreation of the menu from Half-Life) if you would like to try this out and see how it works
  • Custom pause menu callbacks in Lua and Haxe (by @8bitjake)
  • onPauseMenuOpen() is called when the pause menu is opened.
  • onPauseMenuSelect(tag:String) is called whenever a pause option is selected with the name of the option.
  • You can use PauseSubState.instance.addOption(tag) to add an option to the pause menu in create() for Haxe or onCreate() for Lua.
  • Different aspect ratio support
  • These are a bit rough around the edges, but they work if you need them.

Added (QOL)

  • Updated to latest Psych Engine git version
  • Now using Haxe Module Manager for easier installation of libs (haxelib install hmm)
  • Option to anchor the ratings to the world camera rather than the HUD
  • FPS Counter renamed to Info Display
  • Info Display border that doesn't cut your FPS in half
  • Compact Info Display
  • Rainbow Info Display
  • Hitsound volume can be changed
  • Individual animations can be hooked to the playback rate of the song
  • Pause on focus lost option
  • Partial locale support (not completed)

Important: Since v0.5, Lore Engine uses the GNU-GPLv3 license, rather than Apache-v2.0.

This means you are required by license to distribute the source code to any publicly distributed mod made with Lore Engine. I won't sue you or anything if you don't, just don't be a dick, please.

If you find any bugs, please shoot me a DM on Twitter.

Download Here!