diff options
author | perivesta <> | 2023-07-09 17:22:50 +0200 |
---|---|---|
committer | perivesta <> | 2023-07-09 17:22:50 +0200 |
commit | ed34022bfcee20f8679927dcbd360679cd645db4 (patch) | |
tree | 5003b41075851e5f3d79c28b75db059aa6549d4d /Nodes | |
parent | 9f735f15d6ddd2a635b097156e3fa573f5a6a3b0 (diff) | |
download | 2023-ed34022bfcee20f8679927dcbd360679cd645db4.tar.gz 2023-ed34022bfcee20f8679927dcbd360679cd645db4.tar.bz2 2023-ed34022bfcee20f8679927dcbd360679cd645db4.zip |
add music
Diffstat (limited to 'Nodes')
-rw-r--r-- | Nodes/game.tscn | 8 | ||||
-rw-r--r-- | Nodes/main_menu.tscn | 18 |
2 files changed, 17 insertions, 9 deletions
diff --git a/Nodes/game.tscn b/Nodes/game.tscn index e97ba1b..84263a0 100644 --- a/Nodes/game.tscn +++ b/Nodes/game.tscn @@ -1,8 +1,7 @@ [gd_scene load_steps=4 format=3 uid="uid://cu0s2nljmac8c"] [ext_resource type="Script" path="res://Scripts/game.gd" id="1_1dait"] - -[sub_resource type="AudioStream" id="AudioStream_n3sou"] +[ext_resource type="AudioStream" uid="uid://b3saof3ftqyxw" path="res://Assets/sound/Komiku_-_58_-_Universe_big_takedown.mp3" id="2_m58v4"] [sub_resource type="LabelSettings" id="LabelSettings_ylef8"] font_size = 64 @@ -11,8 +10,9 @@ font_size = 64 script = ExtResource("1_1dait") [node name="JinglePlayer" type="AudioStreamPlayer2D" parent="."] -stream = SubResource("AudioStream_n3sou") -volume_db = 1.0 +process_mode = 3 +stream = ExtResource("2_m58v4") +autoplay = true [node name="Evaluation" type="Control" parent="."] visible = false diff --git a/Nodes/main_menu.tscn b/Nodes/main_menu.tscn index 0359346..569f6db 100644 --- a/Nodes/main_menu.tscn +++ b/Nodes/main_menu.tscn @@ -1,6 +1,7 @@ -[gd_scene load_steps=17 format=3 uid="uid://b2ql8qlyaa5tr"] +[gd_scene load_steps=18 format=3 uid="uid://b2ql8qlyaa5tr"] [ext_resource type="Script" path="res://Scripts/main_menu.gd" id="2"] +[ext_resource type="AudioStream" uid="uid://b3saof3ftqyxw" path="res://Assets/sound/Komiku_-_58_-_Universe_big_takedown.mp3" id="2_tvlcl"] [ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="3_f7ihc"] [ext_resource type="FontFile" uid="uid://b2n2cbthkca0k" path="res://Assets/fonts/format.otf" id="7"] @@ -120,6 +121,11 @@ grow_horizontal = 2 grow_vertical = 2 script = ExtResource("2") +[node name="JinglePlayer" type="AudioStreamPlayer2D" parent="."] +process_mode = 3 +stream = ExtResource("2_tvlcl") +autoplay = true + [node name="VBoxContainer" type="VBoxContainer" parent="."] layout_mode = 0 offset_left = 475.0 @@ -156,9 +162,9 @@ vertical_alignment = 1 [node name="Credits" type="VBoxContainer" parent="."] layout_mode = 0 offset_left = 100.0 -offset_top = 400.0 +offset_top = 370.0 offset_right = 183.0 -offset_bottom = 534.0 +offset_bottom = 504.0 [node name="Label" type="Label" parent="Credits"] layout_mode = 2 @@ -198,9 +204,9 @@ layer_1/tile_data = PackedInt32Array(2424836, 131072, 8, 2424837, 131072, 8, 242 [node name="Assets" type="VBoxContainer" parent="."] layout_mode = 2 offset_left = 627.0 -offset_top = 400.0 +offset_top = 370.0 offset_right = 1050.0 -offset_bottom = 537.0 +offset_bottom = 559.0 [node name="Label" type="Label" parent="Assets"] layout_mode = 2 @@ -214,6 +220,8 @@ https://opengameart.org/content/grass-tileset-16x16 Animated Coins by Clint Bellanger for Liberated Pixel Art https://opengameart.org/content/animated-coins +Universe big takedown by Komiku +https://www.chosic.com/download-audio/25142/ " [connection signal="pressed" from="VBoxContainer/StartButton" to="." method="_on_StartButton_pressed"] |