-
-
Notifications
You must be signed in to change notification settings - Fork 1
Scripts
EngineMachiner edited this page Nov 3, 2025
·
5 revisions
Polygon.lua returns a polygon with mirrored textures and Tile.lua returns a number of polygons tiled together.
Each script returns a texture that morphs and the song background. The background can be changed by overriding the back layer of the builder.
Depth/Actors.lua is internal so you shouldn't be using it.
It does all the texture tiling and it's the default script set in the builders.
Consider using the Zoom parameter carefully as it tries fit a number of sprites in your dynamic texture and it could cause frames dropping / bad performance. If you're using the same sprite in xy directions you may just use customtexturerect() through the Output parameter and use the ScreenScale parameter.
Builder { Output = { OnCommand=function(self) self:customtexturerect(...) end }, ScreenScale = true }
- Each script can have different arguments and functionality based on the builder attributes so read the script if you need to.