assets

package
v0.0.0-...-f7e941e Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SoundCreepDie   *audio.Player
	SoundPlayerDie  *audio.Player
	SoundLevelMusic *audio.Player
	SoundBulletHit  *audio.Player
)
View Source
var (
	WhiteSquare = ebiten.NewImage(8, 8)
	DebugBullet = ebiten.NewImage(2, 4)
	WhitePixel  = ebiten.NewImage(1, 1)

	DefaultFilter = ebiten.FilterLinear

	RedBullet        = LoadImage("images/red_bullet.png")
	Plane            = LoadImage("images/plane.png")
	BackgroundGround = LoadImage("images/first_plan.png")
	BackgroundClouds = LoadImage("images/third_plan.png")
	Bee1             = LoadImage("images/bee1.png")
	Bee2             = LoadImage("images/bee2.png")
)
View Source
var SampleRate = 44100

Functions

func LoadBytes

func LoadBytes(p string) []byte

func LoadImage

func LoadImage(filename string) *ebiten.Image

func LoadOGG

func LoadOGG(context *audio.Context, p string, loop bool) *audio.Player

func LoadSounds

func LoadSounds(ctx *audio.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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