load

package
v0.0.0-...-f4fbe18 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: CC0-1.0, MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checkerboard

func Checkerboard(w, h, cells int) image.Image

Checkerboard creates a placeholder image.

func Image

func Image(fs embed.FS, filepath string) *ebiten.Image

Image loads the image from filepath and puts it on the GPU.

func Level

func Level(str string) (w, h int, level string)

Level converts the level written in a string to another string consisting of only non-whitespace characters, which can be accessed by coordinates. It also returns the dimensions of the level.

Types

This section is empty.

Jump to

Keyboard shortcuts

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