tapLua is a Lua scripting library for StepMania 5 and OutFox developers. It features functions for actors, colors, file management, vectors and object type checking. It also includes Astro and some sprite actors.
tapLua focuses to be compatible with newer game builds, so it may not be compatible with older versions.
It is also used in some of my other StepMania 5 projects.
- Clone in fallback's Modules folder.
- Load it using
LoadModule("tapLua/tapLua.lua")
once. This could be done through a script that runs once.
- Create a Modules folder in the game's root folder and clone the repository in it.
- Create or load tapLua through a script.
- Make sure the
package.path
for Lua modules includes the./?/init.lua
path for that game version or else add it. - Load tapLua through
dofile("Modules/tapLua/tapLua.lua")
.
Example:
-- Script in /Scripts/ to run once.
package.path = package.path .. ";./?/init.lua" -- Doesn't include the path.
dofile("Modules/tapLua/tapLua.lua")