assets

package
v0.0.0-...-f36ebf9 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SoundGroupEffect uint = iota
	SoundGroupMusic
)
View Source
const (
	AudioNone resource.AudioID = iota

	AudioFireScatter1
	AudioFireScatter2
	AudioFireLaser1
	AudioFireLaser2
	AudioFireLaser3
	AudioFireLaser4
	AudioFirePlasma1
	AudioFirePlasma2
	AudioFirePlasma3
	AudioFireIon1
	AudioFireIon2
	AudioFireLancer1
	AudioFireLancer2
	AudioFireLancer3
	AudioFireLancer4
	AudioFirePusher1
	AudioFirePusher2
	AudioFirePusher3
	AudioFireFreezer1
	AudioFireFreezer2
	AudioFireFreezer3
	AudioFireMissile1
	AudioFireMissile2

	AudioVesselExplosion

	AudioErrorBeep
	AudioAckBeep
	AudioDeleteBeep
	AudioClickBeep

	AudioMusicMenu
)
View Source
const (
	ImageNone resource.ImageID = iota

	ImageUIButtonIdle
	ImageUIButtonHover
	ImageUIButtonPressed
	ImageUIButtonDisabled
	ImageUITooltip
	ImageUISlotIdle
	ImageUISlotHover
	ImageUISlotDisabled

	ImageSlotSelector

	ImageIconRandomPos
	ImageIconRotateTo
	ImageIconMoveForward
	ImageIconMoveAndRotate
	ImageIconDistanceTo
	ImageIconTargetPos
	ImageIconCenterPos
	ImageIconSelfPos
	ImageIconIsLt
	ImageIconIsGt
	ImageIconIsOutOfBounds
	ImageIconRandomOffset
	ImageIconRand
	ImageIconSelfHealthPercent
	ImageIconSelfEnergyPercent
	ImageIconWait
	ImageIconTargetSpeed

	ImageItemEnergyShield
	ImageItemKineticShield
	ImageItemThermalShield

	ImageWarning

	ImageIconSnapShot
	ImageIconNormalShot
	ImageIconAimShot

	ImageSpaceBg

	ImageProjectileScatter
	ImageProjectileLaser
	ImageProjectilePlasma
	ImageProjectileIon
	ImageProjectileLancer
	ImageProjectilePusher
	ImageProjectileFreezer
	ImageProjectileMissile

	ImageImpactLaser
	ImageImpactPlasma
	ImageImpactIon
	ImageImpactLancer
	ImageImpactPusher
	ImageImpactFreezer
	ImageImpactMissile

	ImageVesselSmall1
	ImageVesselNormal1
	ImageVesselLarge1
	ImageVesselLarge2
)
View Source
const (
	RawNone resource.RawID = iota

	RawLevel1EnemyJSON
	RawLevel2EnemyJSON
	RawLevel3EnemyJSON
	RawLevel4EnemyJSON
	RawLevel5EnemyJSON
	RawLevel6EnemyJSON
)
View Source
const (
	ShaderNone resource.ShaderID = iota

	ShaderCRT
)

Variables

View Source
var (
	Font1 = bitsweetfont.New1_3()
	Font2 = bitsweetfont.Scale(Font1, 2)
	Font3 = bitsweetfont.Scale(Font1, 3)
)

Functions

func NumSamples

func NumSamples(a resource.AudioID) int

func OpenAssetFunc

func OpenAssetFunc(p string) io.ReadCloser

func RegisterResources

func RegisterResources(loader *resource.Loader)

func VolumeMultiplier

func VolumeMultiplier(level int) float64

Types

This section is empty.

Directories

Path Synopsis
_data

Jump to

Keyboard shortcuts

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