file

package
v0.0.0-...-0996e1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(hex string) [][]color.Color

func Encode

func Encode(sprites [][]*sprite.Sprite) string

Encode the sprite sheet into a hex representation

given that we have a defined palette of (16) colors
we can represent a sprite by a set of hex digits

func Save

func Save(dst *ebiten.Image, sprites [][]*sprite.Sprite, offset geom.Offset)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL