Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BigFontName = "x16y32pxGridGazer.ttf"
View Source
var DefFontName = "Mx437_IBM_VGA_9x16.ttf"
View Source
var EbiOS = ""
View Source
var FS embed.FS
View Source
var Jukebox = &jukebox{}
View Source
var PlayingSounds []*SoundPlayer
View Source
var SmallFontName = "Mx437_IBM_EGA_8x8.ttf"
View Source
var SoundStreams = map[string]*vorbis.Stream{}
View Source
var Sounds = map[string]SoundEffect{}
View Source
var Text *etxt.Renderer
View Source
var TileHalfHeight = 6.0
View Source
var TileHalfWidth = 6.0
View Source
var TileHeight = 13.0
View Source
var TileWidth = 13.0
View Source
var TileXStep = 4.5
View Source
var TileYStep = 9.0
Functions ¶
func GetSoundStream ¶
func LoadSpriteStack ¶
func UpdateSounds ¶
func UpdateSounds()
Types ¶
type SoundEffect ¶
type SoundEffect struct {
// contains filtered or unexported fields
}
func (SoundEffect) Play ¶
func (s SoundEffect) Play() *SoundPlayer
func (SoundEffect) PlayLooped ¶
func (s SoundEffect) PlayLooped() *SoundPlayer
type SoundPlayer ¶
type SoundPlayer struct { *audio.Player Looping bool Next *SoundPlayer }
func GetSound ¶
func GetSound(name string) *SoundPlayer
func PlayLoopedSound ¶
func PlayLoopedSound(name string) *SoundPlayer
func PlaySound ¶
func PlaySound(name string) *SoundPlayer
Click to show internal directories.
Click to hide internal directories.