mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 10:48:53 +01:00
examples/audio: Change the music
This commit is contained in:
parent
7f39dc1e8b
commit
4b449bbc75
@ -113,7 +113,7 @@ func NewPlayer(audioContext *audio.Context) (*Player, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
oggF, err := ebitenutil.OpenFile("_resources/audio/game.ogg")
|
oggF, err := ebitenutil.OpenFile("_resources/audio/ragtime.ogg")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user