mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Improve Lua API documentation on sounds (#9265)
This commit is contained in:
parent
7c0e0c34ec
commit
f4f7c7a11b
2 changed files with 60 additions and 11 deletions
|
@ -244,3 +244,11 @@ Limitations of Async operations
|
|||
-Limited set of available functions
|
||||
e.g. No access to functions modifying menu like core.start,core.close,
|
||||
core.show_path_select_dialog
|
||||
|
||||
Background music
|
||||
----------------
|
||||
The main menu supports background music.
|
||||
It looks for a `main_menu` sound in `$USER_PATH/sounds`. The same naming
|
||||
conventions as for normal sounds apply.
|
||||
This means the player can add a custom sound.
|
||||
It will be played in the main menu (gain = 1.0), looped.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue