An open API service indexing awesome lists of open source software.

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

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!