From ed34022bfcee20f8679927dcbd360679cd645db4 Mon Sep 17 00:00:00 2001 From: perivesta <> Date: Sun, 9 Jul 2023 17:22:50 +0200 Subject: add music --- Nodes/main_menu.tscn | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'Nodes/main_menu.tscn') 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"] -- cgit