1
0
Fork 0
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:
PilzAdam 2013-07-28 23:14:42 +02:00
parent 174285f298
commit 4fb4efd8ed
7 changed files with 117 additions and 47 deletions

View file

@ -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)