This is a template project to build TIC-80 games with Lua, using multi-files. Which means you can organize, develop and test your game with separed Lua files, and build it together to release a cartridge.
To use this template you will need:
- Linux or macOS (it probably works on Windows with MinGW or WSL)
- GNU Make
- TIC-80 PRO (consider buying the PRO version or sponsoring @nesbox)
- Lua
- luarocks
- luacc
Use the main.lua as your base cartridge file to add and edit assets.
You code files must go inside the src folder. Then, you need require them inside the main.lua file.
Notes:
- It should not be necessary to add them in the
luaccline inside theMakefile. - You may need to edit some varibles like
PLATFORMandGAME_NAMEinside theMakefile.
To run and test your game:
make run
To build your game:
make build
- @nesbox: the TIC-80 creator.
- @borbware's tic80-boilerplate: I used this repository as base to build this template.