Documentation ¶
Index ¶
Constants ¶
View Source
const RADIUS = 2
View Source
const SAMPLERATE = 48000
View Source
const XMAX, YMAX = 320, 240 // logical game space dimensions
Variables ¶
This section is empty.
Functions ¶
func PlayAudioBoing ¶
func PlayAudioBoing()
PlayAudioBoing creates a player and plays the boing file
func UpdateAudioBackground ¶
func UpdateAudioBackground()
Plays rain sound in a loop, using a single player Should be called within the update loop.
Types ¶
type Paddle ¶
type Paddle struct {
// contains filtered or unexported fields
}
type Pong ¶
type Pong struct {
// contains filtered or unexported fields
}
func (*Pong) Draw ¶
func (p *Pong) Draw(screen *ebiten.Image)
Draw implements ebiten.Game. Draw draws the game screen.
Click to show internal directories.
Click to hide internal directories.