https://github.com/pcornier/tic80-boilerplate
A boilerplate for my TIC-80 projects
https://github.com/pcornier/tic80-boilerplate
boilerplate gamedev tic-80
Last synced: 8 months ago
JSON representation
A boilerplate for my TIC-80 projects
- Host: GitHub
- URL: https://github.com/pcornier/tic80-boilerplate
- Owner: pcornier
- Created: 2018-06-05T14:21:31.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-04-09T15:25:50.000Z (almost 6 years ago)
- Last Synced: 2025-06-17T14:02:22.254Z (9 months ago)
- Topics: boilerplate, gamedev, tic-80
- Language: Lua
- Homepage:
- Size: 19.5 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TIC-80 boilerplate
---
This project contains:
- a very basic Entity Component System: **libs/ecs.lua**
- a messaging system: **libs/bus.lua**
- a state manager: **libs/state.lua**
Look at the **spec** directory for more details or look at the demo project there: https://github.com/pcornier/tic80-mini-platformer
# Setup
---
First, edit Makefile and adjust these 3 parameters:
- CART: the name of you cartridge
- LINUX: the path to the TIC-80 directory if you are using Linux
- ANDROID: the path to the TIC-80 directory if you are using Android
There's no WINDOWS parameter currently but feel free to fork the repo!
Then
- run `make data` to extract data from the TIC-80 cartridge. You will need to install `csplit`, which is part of `coreutils` package.
- run `make` to generate the cartridge with data. The generated cartridge will be copied to the TIC-80 directory.
On Android, I recommend the two apps Termux and DroidEdit. Termux will provide you with the two linux commands `make`and `csplit`. DroidEdit is a nice little code editor that can connect Termux through ssh in order to trigger the `make` command remotely!