assets

package
v0.0.0-...-d664ad9 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2022 License: MIT Imports: 13 Imported by: 0

README

Assets

Images

Image assets have been gray-scaled and used to generate multiple maps of tile patterns with this tool. Generated file is https://github.com/Zyko0/BlackAndWhite8/blob/main/assets/shape/shapes.go

License of assets used: License.txt

Documentation

Index

Constants

View Source
const (
	GameMusic byte = iota
	LoopMusic
)

Variables

View Source
var (
	DefaultFontFace      font.Face
	DefaultSmallFontFace font.Face
)
View Source
var (
	SplashScreenImage *ebiten.Image

	PlayerIdleImage *ebiten.Image

	PlayerDashImage *ebiten.Image

	PlayerLoopImage *ebiten.Image

	PlayerInvuln0Image *ebiten.Image

	PlayerInvuln1Image *ebiten.Image
)
View Source
var (
	TileShader   *ebiten.Shader
	EntityShader *ebiten.Shader
	GridShader   *ebiten.Shader
)

Functions

func GetMusicVolume

func GetMusicVolume() float64

func GetSFXVolume

func GetSFXVolume() float64

func PlayDashSound

func PlayDashSound()

func PlayFlipFailSound

func PlayFlipFailSound()

func PlayFlipSound

func PlayFlipSound()

func PlayHitSound

func PlayHitSound()

func ReplayMusic

func ReplayMusic()

func ResumeMenuMusic

func ResumeMenuMusic()

func ResumeMusic

func ResumeMusic()

func SetMusic

func SetMusic(music byte)

func SetMusicVolume

func SetMusicVolume(v float64)

func SetSFXVolume

func SetSFXVolume(v float64)

func StopMenuMusic

func StopMenuMusic()

func StopMusic

func StopMusic()

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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