assets

package
v0.0.0-...-a4c0b9d Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AudioNone resource.AudioID = iota

	AudioBeep
)
View Source
const (
	FontNone resource.FontID = iota

	FontMonospaceNormal
	FontArcadeSmall
	FontArcadeNormal
	FontArcadeBig
)
View Source
const (
	ImageNone resource.ImageID = iota

	ImageUIButtonDisabled
	ImageUIButtonIdle
	ImageUIButtonHover
	ImageUIButtonPressed
	ImageUISelectButtonIdle
	ImageUISelectButtonHover
	ImageUISelectButtonPressed
	ImageUITextInputIdle
	ImageUIPanelIdle
	ImageUITooltip
	ImageLinkDummyTexture
	ImagePointerNormal
	ImagePointerHand

	ImagePlotBackground
	ImagePlayBackground
	ImageMenuBackground
	ImageSignal
)
View Source
const (
	RawNone resource.RawID = iota

	RawEnDictBase

	RawSoundFontTimGM6mb

	RawLevelTilesetJSON
)
View Source
const (
	ShaderNone resource.ShaderID = iota

	ShaderSine
)

Variables

View Source
var (
	SoundFontTimGM6mb *meltysynth.SoundFont
)

Functions

func MakeOpenAssetFunc

func MakeOpenAssetFunc(ctx *ge.Context) func(path string) io.ReadCloser

func RegisterResources

func RegisterResources(ctx *ge.Context)

Types

type RawLevelData

type RawLevelData struct {
	Act     int
	Mission int

	TileMap  []byte
	Solution []byte
}

func ReadLevelsData

func ReadLevelsData() []RawLevelData

Jump to

Keyboard shortcuts

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