Adding sound and music
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
[gd_scene load_steps=6 format=3 uid="uid://0so4tpnkk8t2"]
|
||||
[gd_scene load_steps=7 format=3 uid="uid://0so4tpnkk8t2"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/gui/scanner_modes.gd" id="1_synac"]
|
||||
[ext_resource type="Theme" uid="uid://dnebunkx13tbr" path="res://assets/gui/Text.tres" id="2_3kvh5"]
|
||||
[ext_resource type="Texture2D" uid="uid://dpfe11wn04ntd" path="res://assets/gui/icons/watering-soil.svg" id="3_7lrcm"]
|
||||
[ext_resource type="Texture2D" uid="uid://dgo81cisfryi1" path="res://assets/gui/icons/soil-alt.svg" id="4_ld01f"]
|
||||
[ext_resource type="Texture2D" uid="uid://bdg3ep75da6xd" path="res://assets/gui/icons/tree.svg" id="5_fjsbw"]
|
||||
[ext_resource type="AudioStream" uid="uid://chj1wssgktreb" path="res://assets/sounds/Actions/Clic bouton.mp3" id="6_37qut"]
|
||||
|
||||
[node name="ScannerModes" type="Control"]
|
||||
layout_mode = 3
|
||||
@@ -36,4 +37,7 @@ popup/item_3/text = "Population"
|
||||
popup/item_3/icon = ExtResource("5_fjsbw")
|
||||
popup/item_3/id = 3
|
||||
|
||||
[node name="ClickSound" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource("6_37qut")
|
||||
|
||||
[connection signal="item_selected" from="Scanner Select" to="." method="_on_scanner_select_item_selected"]
|
||||
|
||||
Reference in New Issue
Block a user