Skip to content

firefly-zero/firefly-pico8-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

firefly-pico8-go

An expermental Go SDK for making Firefly Zero games. Designed to match the PICO-8 API to make it easier to port PICO-8 games to Firefly Zero. If you're creating a game from scratch or ready to spend a bit more time, you should use firefly-go instead.

Installation

go get github.com/firefly-zero/firefly-pico8-go

Usage

import "github.com/firefly-zero/firefly-pico8-go/pico8"

var sdk pico8.Pico8

func boot() {
    pico8.InitPalette()
    sdk = pico8.New()
    sdk.LoadSprites("sprites")
    sdk.LoadFont("font")
}

func Render() {
    sdk.Clr(1) // equivalent to PICO-8 `clr(1)`
}

About

๐Ÿ’  Go package with PICO-8 API for creating Firefly Zero games

Topics

Resources

License

Stars

Watchers

Forks

Contributors

Languages