Skip to content

Latest commit

Β 

History

History
52 lines (36 loc) Β· 1.77 KB

README.md

File metadata and controls

52 lines (36 loc) Β· 1.77 KB

NotITG-Moo

A NotITG + Outfox File Framework

πŸ“„ Acknowledgements

This framework was originally based from mod templates such as XeroOl's Mirin Template and KyDash's Template.

🧰 Features

  • Loading (and caching) .lua files
  • Lua and XML Addons
  • OpenITG + Outfox compatibility
  • Supports creating modfiles and minigames

πŸ”¨ Setting Up

It's recommended to use NotITG-Init to easily set up the framework, and the template.

Alternatively, you can clone/download this repository, and the template you'll be using, and merge them to your simfile folder.

🀝 Compatibility

This framework, and templates, tries its best to be compatible with Outfox and OpenITG.

To have compatibility for any of these, you will need to use #BGCHANGES instead of #BETTERBGCHANGES.

You will also need to check out settings.lua.

🎣 Hooks

To prevent load order confusion, it's recommended to put functions inside hooks.

  • setup_hooks - Functions that needs to run as soon as the framework loads (recommended for addons).
  • init_hooks - Functions that needs to run after setup_hooks.
  • update_hooks - Functions that runs every update.

Example:

init_hooks{'modfile initialize',function()
	-- Guaranteed to exist when this function is ran.
	local P1 = SCREENMAN:GetTopScreen():GetChild('PlayerP1')
end}

πŸ”— Additional Links