examples/options: add music
This commit is contained in:
parent
62358ded31
commit
dd0234a624
2 changed files with 2 additions and 0 deletions
BIN
examples/menus/options/assets/music.ogg
Normal file
BIN
examples/menus/options/assets/music.ogg
Normal file
Binary file not shown.
|
@ -30,6 +30,8 @@ local Widgets = require "examples.menus.options.widgets"
|
|||
function OptionsMenu:new()
|
||||
OptionsMenu.super.new(self)
|
||||
self.assets:addImageFont("medium", "examples/mainmenu/assets/medium")
|
||||
self.assets:setMusic("examples/menus/options/assets/music.ogg")
|
||||
self.assets:playMusic()
|
||||
|
||||
self:addMenu("main", true)
|
||||
self:addSubMenu("video", "video")
|
||||
|
|
Loading…
Reference in a new issue