added sound library settings & command (#12)

## Changes
- Added file base simple sound library
- Added base UI settings and sound library settings
- Added `play_lib_snd` command

## Notes
- The command accepts a namespace so we can leave common sound in the root folder and chapter specific sounds in its own folder

## How to test
- Run the game
- All the door sounds should play as normal.

Reviewed-on: gymkhana/gymkhana#12
Co-authored-by: oier <oierbravo@gmail.com>
Co-committed-by: oier <oierbravo@gmail.com>
This commit is contained in:
2023-09-21 00:38:12 +02:00
committed by Oier Bravo
parent ebbaec2abf
commit 92bfd3bbc2
13 changed files with 100 additions and 13 deletions

View File

@@ -500,6 +500,11 @@ _global_script_classes=[ {
"path": "res://gymkhana/addons/escoria-ui-return-monkey-island/item_outline.gd"
}, {
"base": "ESCBaseCommand",
"class": "PlayLibSound",
"language": "GDScript",
"path": "res://gymkhana/addons/escoria-ui-return-monkey-island/esc/commands/play_lib_snd.gd"
}, {
"base": "ESCBaseCommand",
"class": "PlaySndCommand",
"language": "GDScript",
"path": "res://addons/escoria-core/game/core-scripts/esc/commands/play_snd.gd"
@@ -534,6 +539,11 @@ _global_script_classes=[ {
"language": "GDScript",
"path": "res://gymkhana/addons/escoria-ui-return-monkey-island-dialog-simple/rtmi_dialog_simple_settings.gd"
}, {
"base": "Resource",
"class": "RTMIUiSettings",
"language": "GDScript",
"path": "res://gymkhana/addons/escoria-ui-return-monkey-island/rtmi_ui_settings.gd"
}, {
"base": "ESCBaseCommand",
"class": "RandGlobalCommand",
"language": "GDScript",
@@ -798,6 +808,7 @@ _global_script_class_icons={
"InventoryAddCommand": "",
"InventoryRemoveCommand": "",
"ItemOutline": "res://addons/escoria-core/design/esc_item.svg",
"PlayLibSound": "",
"PlaySndCommand": "",
"PlayVideoCommand": "",
"PrintCommand": "",
@@ -805,6 +816,7 @@ _global_script_class_icons={
"QueueResourceCommand": "",
"RTMISimpleDialogPlugin": "",
"RTMISimpleDialogSettings": "",
"RTMIUiSettings": "",
"RandGlobalCommand": "",
"RepeatCommand": "",
"SayCommand": "",
@@ -926,6 +938,7 @@ rtmi_dialog_simple/left_click_action="Speed up"
rtmi_dialog_simple/stop_talking_animation_on="End of audio"
debug/enable_hover_stack_viewer=true
ui/dialogs_chooser="res://addons/escoria-core/game/scenes/dialogs/esc_dialog_options_chooser.gd"
rtmi_ui/sound_library_folder="res://gymkhana/sounds/"
[input]