sys

package
v0.0.0-...-1072354 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScreenWidth  = 1024
	ScreenHeight = 512
	FrameWidth   = 64
	FrameHeight  = 64
)
View Source
const (
	CoinSlides         = 6
	CoinAnimationSpeed = 10
)

Variables

View Source
var AudioContext *audio.Context
View Source
var CoinTiles []*ebiten.Image
View Source
var RunnerTiles []*ebiten.Image
View Source
var Tiles []*ebiten.Image

Functions

func DropCoin

func DropCoin(count int)

func GameData

func GameData(path string) ([]byte, error)

func LoadImage

func LoadImage(path string) *ebiten.Image

func PickupCoin

func PickupCoin()

func PlayLevelAmbience

func PlayLevelAmbience(level int)

func StopLevelAmbience

func StopLevelAmbience()

func WriteMessage

func WriteMessage(x, y int, message string, i *ebiten.Image)

Types

This section is empty.

Jump to

Keyboard shortcuts

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