assets

package
v0.0.0-...-bd60397 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2024 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

A game for Ebitengine game jam 2024

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

A game for Ebitengine game jam 2024

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.

Index

Constants

View Source
const (
	SoundRotationID int = iota
	SoundLeftRightID
	SoundTouchGroundID
	SoundLinesVanishingID
	SoundLinesFallingID
	SoundMenuMoveID
	SoundMenuConfirmID
	SoundCoinID
	SoundBuyID
	SoundDeathID
	SoundMenuNoID
	SoundRocketID
	NumSounds
)

Variables

View Source
var ImageBack *ebiten.Image
View Source
var ImageBigdigits *ebiten.Image
View Source
var ImageCoin *ebiten.Image
View Source
var ImageContinue *ebiten.Image
View Source
var ImageControls *ebiten.Image
View Source
var ImageCredits *ebiten.Image
View Source
var ImageDanger *ebiten.Image
View Source
var ImageDigits *ebiten.Image
View Source
var ImageFog *ebiten.Image
View Source
var ImageFullHeart *ebiten.Image
View Source
var ImageHeart *ebiten.Image
View Source
var ImageHold *ebiten.Image
View Source
var ImageImprovements *ebiten.Image
View Source
var ImageImprovementsArrow *ebiten.Image
View Source
var ImageLevel *ebiten.Image
View Source
var ImageLevelComplete *ebiten.Image
View Source
var ImageMalus *ebiten.Image
View Source
var ImageMax *ebiten.Image
View Source
var ImageMoneyBack *ebiten.Image
View Source
var ImageRocket *ebiten.Image
View Source
var ImageShopBack *ebiten.Image
View Source
var ImageShopTitle *ebiten.Image
View Source
var ImageSquares *ebiten.Image
View Source
var ImageTextMalus *ebiten.Image
View Source
var ImageTextShop *ebiten.Image
View Source
var ImageTitle1 *ebiten.Image
View Source
var ImageTitle2 *ebiten.Image
View Source
var ImageWin *ebiten.Image
View Source
var ImageYouLose *ebiten.Image

Functions

func Load

func Load(mult int)

Types

type SoundManager

type SoundManager struct {
	NextSounds [NumSounds]bool
	// contains filtered or unexported fields
}

func InitAudio

func InitAudio() (manager SoundManager)

decode music and sounds

func (SoundManager) PlaySounds

func (s SoundManager) PlaySounds()

play requested sounds

func (*SoundManager) StopMusic

func (s *SoundManager) StopMusic()

stop the music

func (*SoundManager) UpdateMusic

func (s *SoundManager) UpdateMusic(volume float64)

loop the music

Jump to

Keyboard shortcuts

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