mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Play sounds/main_menu.ogg in menu
This commit is contained in:
parent
174285f298
commit
4fb4efd8ed
7 changed files with 117 additions and 47 deletions
|
@ -82,6 +82,10 @@ engine.download_file(url,target)
|
|||
^ returns true/false
|
||||
engine.get_version()
|
||||
^ returns current minetest version
|
||||
engine.sound_play(spec, looped) -> handle
|
||||
^ spec = SimpleSoundSpec (see lua-api.txt)
|
||||
^ looped = bool
|
||||
engine.sound_stop(handle)
|
||||
|
||||
GUI:
|
||||
engine.update_formspec(formspec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue