Skip to content

v2.0

Choose a tag to compare

@Trioplane Trioplane released this 17 Aug 12:48
· 3 commits to main since this release
  • Fixes #1
  • ‼️ Replaced the public function scrfx:add_screen_effect with two new API functions.
  • Added API function scrfx:api/register_screen_effect/register_group which accepts two macro arguments storage, and path like the old function.
    • This registers all screen effect definitions in the list provided.
    • Throws an error message if the provided screen effect group does not exist.
  • Added API function scrfx:api/register_screen_effect/register_definition which accepts two macro arguments storage, and path.
    • This registers the screen effect definition provided.
    • Throws an error message if the provided screen effect group does not exist.
    • Note: In the future, I might add data validation for easier debugging :).
  • Changed screen effect definition and group schema, see the README for more info.