sfx and music
This commit is contained in:
parent
b9602abb51
commit
49b54b1aba
35 changed files with 719 additions and 11 deletions
36
Scenes/Autoloads/MusicController.gd
Normal file
36
Scenes/Autoloads/MusicController.gd
Normal file
|
@ -0,0 +1,36 @@
|
|||
extends Node
|
||||
|
||||
var intro_snow = load("res://BGM/Intro_Snow_-_Utsuho.mp3")
|
||||
var kyouko_snow = load("res://BGM/Kyouko_Snow_-_Utsuho.mp3")
|
||||
var letty_snow = load("res://BGM/Letty_Snow_-_Utsuho.mp3")
|
||||
var score_end = load("res://BGM/Score_End_-_Utsuho.mp3")
|
||||
|
||||
var player : AudioStreamPlayer
|
||||
|
||||
|
||||
func _ready():
|
||||
player = get_node("AudioStreamPlayer")
|
||||
|
||||
func play_intro_snow():
|
||||
if not player.playing or not player.stream == intro_snow:
|
||||
player.stop()
|
||||
player.stream = intro_snow
|
||||
player.play()
|
||||
|
||||
func play_kyouko_snow():
|
||||
if not player.playing or not player.stream == kyouko_snow:
|
||||
player.stop()
|
||||
player.stream = kyouko_snow
|
||||
player.play()
|
||||
|
||||
func play_letty_snow():
|
||||
if not player.playing or not player.stream == letty_snow:
|
||||
player.stop()
|
||||
player.stream = letty_snow
|
||||
player.play()
|
||||
|
||||
func play_score_end():
|
||||
if not player.playing or not player.stream == score_end:
|
||||
player.stop()
|
||||
player.stream = score_end
|
||||
player.play()
|
9
Scenes/Autoloads/MusicController.tscn
Normal file
9
Scenes/Autoloads/MusicController.tscn
Normal file
|
@ -0,0 +1,9 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://Scenes/Autoloads/MusicController.gd" type="Script" id=1]
|
||||
|
||||
[node name="Node" type="Node"]
|
||||
script = ExtResource( 1 )
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
volume_db = -10.0
|
|
@ -184,3 +184,4 @@ color = Color( 0, 0, 0, 1 )
|
|||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 5 )
|
||||
volume_db = -10.0
|
||||
|
|
184
Scenes/Cutscene2.tscn
Normal file
184
Scenes/Cutscene2.tscn
Normal file
|
@ -0,0 +1,184 @@
|
|||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://Graphics/UI/DialogueBox.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Graphics/CGs/panel2.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Scripts/CutsceneRunner.gd" type="Script" id=3]
|
||||
[ext_resource path="res://Fonts/luckiest-guy/luckiest-guy.tres" type="DynamicFont" id=4]
|
||||
[ext_resource path="res://Sounds/Beep.wav" type="AudioStream" id=5]
|
||||
|
||||
[sub_resource type="Animation" id=3]
|
||||
resource_name = "DialogueFade"
|
||||
length = 2.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.7, 0.701, 1.2, 2 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/path = NodePath("..")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0.7, 2 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "mid_dialogue_fade"
|
||||
}, {
|
||||
"args": [ ],
|
||||
"method": "dialogue_fade_done"
|
||||
} ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=4]
|
||||
resource_name = "FinalFade"
|
||||
length = 1.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("../ColorRect:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1.5 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/path = NodePath("..")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 1.5 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "final_fade_done"
|
||||
} ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "InitialFade"
|
||||
length = 2.25
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 1.5, 2.2 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("../ColorRect:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0, 1.5 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
|
||||
}
|
||||
tracks/2/type = "method"
|
||||
tracks/2/path = NodePath("..")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/keys = {
|
||||
"times": PoolRealArray( 2.2 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "dialogue_fade_done"
|
||||
} ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 0 ) ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("../ColorRect:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 1 ) ]
|
||||
}
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 3 )
|
||||
cutscene_name = "Cutscene2"
|
||||
next_scene_to_load = "Cutscene3"
|
||||
|
||||
[node name="CG" type="TextureRect" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="DialogueBox" type="TextureRect" parent="."]
|
||||
modulate = Color( 1, 1, 1, 0 )
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_top = -120.0
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="DialogueBox"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 24.0
|
||||
margin_top = 12.0
|
||||
margin_right = -24.0
|
||||
margin_bottom = -12.0
|
||||
custom_colors/default_color = Color( 0.196078, 0.2, 0.32549, 1 )
|
||||
custom_fonts/normal_font = ExtResource( 4 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="DialogueBox"]
|
||||
anims/DialogueFade = SubResource( 3 )
|
||||
anims/FinalFade = SubResource( 4 )
|
||||
anims/InitialFade = SubResource( 1 )
|
||||
anims/RESET = SubResource( 2 )
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color( 0, 0, 0, 1 )
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 5 )
|
||||
volume_db = -10.0
|
184
Scenes/Cutscene3.tscn
Normal file
184
Scenes/Cutscene3.tscn
Normal file
|
@ -0,0 +1,184 @@
|
|||
[gd_scene load_steps=10 format=2]
|
||||
|
||||
[ext_resource path="res://Graphics/UI/DialogueBox.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Graphics/CGs/panel3.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Scripts/CutsceneRunner.gd" type="Script" id=3]
|
||||
[ext_resource path="res://Fonts/luckiest-guy/luckiest-guy.tres" type="DynamicFont" id=4]
|
||||
[ext_resource path="res://Sounds/Beep.wav" type="AudioStream" id=5]
|
||||
|
||||
[sub_resource type="Animation" id=3]
|
||||
resource_name = "DialogueFade"
|
||||
length = 2.0
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 0.7, 0.701, 1.2, 2 ),
|
||||
"transitions": PoolRealArray( 1, 1, 1, 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/path = NodePath("..")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0.7, 2 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "mid_dialogue_fade"
|
||||
}, {
|
||||
"args": [ ],
|
||||
"method": "dialogue_fade_done"
|
||||
} ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=4]
|
||||
resource_name = "FinalFade"
|
||||
length = 1.5
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath("../ColorRect:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0, 1.5 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
||||
}
|
||||
tracks/1/type = "method"
|
||||
tracks/1/path = NodePath("..")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 1.5 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "final_fade_done"
|
||||
} ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
resource_name = "InitialFade"
|
||||
length = 2.25
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 1.5, 2.2 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ) ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("../ColorRect:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0, 1.5 ),
|
||||
"transitions": PoolRealArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ]
|
||||
}
|
||||
tracks/2/type = "method"
|
||||
tracks/2/path = NodePath("..")
|
||||
tracks/2/interp = 1
|
||||
tracks/2/loop_wrap = true
|
||||
tracks/2/imported = false
|
||||
tracks/2/enabled = true
|
||||
tracks/2/keys = {
|
||||
"times": PoolRealArray( 2.2 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"values": [ {
|
||||
"args": [ ],
|
||||
"method": "dialogue_fade_done"
|
||||
} ]
|
||||
}
|
||||
|
||||
[sub_resource type="Animation" id=2]
|
||||
length = 0.001
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:modulate")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/loop_wrap = true
|
||||
tracks/0/imported = false
|
||||
tracks/0/enabled = true
|
||||
tracks/0/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 0 ) ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath("../ColorRect:modulate")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/loop_wrap = true
|
||||
tracks/1/imported = false
|
||||
tracks/1/enabled = true
|
||||
tracks/1/keys = {
|
||||
"times": PoolRealArray( 0 ),
|
||||
"transitions": PoolRealArray( 1 ),
|
||||
"update": 0,
|
||||
"values": [ Color( 1, 1, 1, 1 ) ]
|
||||
}
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 3 )
|
||||
cutscene_name = "Cutscene3"
|
||||
next_scene_to_load = "TitleScreen"
|
||||
|
||||
[node name="CG" type="TextureRect" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
texture = ExtResource( 2 )
|
||||
|
||||
[node name="DialogueBox" type="TextureRect" parent="."]
|
||||
modulate = Color( 1, 1, 1, 0 )
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_top = -120.0
|
||||
texture = ExtResource( 1 )
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="DialogueBox"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 24.0
|
||||
margin_top = 12.0
|
||||
margin_right = -24.0
|
||||
margin_bottom = -12.0
|
||||
custom_colors/default_color = Color( 0.196078, 0.2, 0.32549, 1 )
|
||||
custom_fonts/normal_font = ExtResource( 4 )
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="DialogueBox"]
|
||||
anims/DialogueFade = SubResource( 3 )
|
||||
anims/FinalFade = SubResource( 4 )
|
||||
anims/InitialFade = SubResource( 1 )
|
||||
anims/RESET = SubResource( 2 )
|
||||
|
||||
[node name="ColorRect" type="ColorRect" parent="."]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
color = Color( 0, 0, 0, 1 )
|
||||
|
||||
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 5 )
|
||||
volume_db = -10.0
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=10 format=2]
|
||||
[gd_scene load_steps=15 format=2]
|
||||
|
||||
[ext_resource path="res://Tile Sets/SnowySlopes.tres" type="TileSet" id=1]
|
||||
[ext_resource path="res://Units/DownhillAutoscrollerPlayer.tscn" type="PackedScene" id=2]
|
||||
|
@ -6,6 +6,11 @@
|
|||
[ext_resource path="res://Graphics/Animations/Background.tres" type="Texture" id=4]
|
||||
[ext_resource path="res://Scripts/GameScene.gd" type="Script" id=5]
|
||||
[ext_resource path="res://Units/DownhillAutoscrollerRivalMystia.tscn" type="PackedScene" id=6]
|
||||
[ext_resource path="res://Sounds/pichuun.mp3" type="AudioStream" id=7]
|
||||
[ext_resource path="res://Sounds/whoosh-6316.mp3" type="AudioStream" id=8]
|
||||
[ext_resource path="res://Sounds/sfx_jump_07-80241.mp3" type="AudioStream" id=9]
|
||||
[ext_resource path="res://Sounds/land2-43790.mp3" type="AudioStream" id=10]
|
||||
[ext_resource path="res://Sounds/ski-67717.wav" type="AudioStream" id=11]
|
||||
|
||||
[sub_resource type="Animation" id=3]
|
||||
resource_name = "InitialFade"
|
||||
|
@ -127,3 +132,20 @@ color = Color( 0.12549, 0.231373, 0.2, 1 )
|
|||
anims/InitialFade = SubResource( 3 )
|
||||
anims/PitTransition = SubResource( 1 )
|
||||
anims/RESET = SubResource( 2 )
|
||||
|
||||
[node name="HitAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 7 )
|
||||
volume_db = -4.0
|
||||
|
||||
[node name="SpinAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 8 )
|
||||
|
||||
[node name="JumpAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 9 )
|
||||
|
||||
[node name="LandAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 10 )
|
||||
volume_db = 4.0
|
||||
|
||||
[node name="SnowAudioStreamPlayer" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 11 )
|
||||
|
|
|
@ -49,7 +49,7 @@ margin_bottom = 252.0
|
|||
rect_min_size = Vector2( 360, 60 )
|
||||
flat = false
|
||||
script = ExtResource( 5 )
|
||||
scene_to_load = "res://Scenes/DownhillAutoscroller.tscn"
|
||||
scene_to_load = "res://Scenes/Cutscene1.tscn"
|
||||
|
||||
[node name="ManualButton" parent="Menu/CenterRow/Buttons" instance=ExtResource( 2 )]
|
||||
margin_top = 272.0
|
||||
|
@ -58,6 +58,9 @@ margin_bottom = 332.0
|
|||
rect_min_size = Vector2( 360, 60 )
|
||||
flat = false
|
||||
script = ExtResource( 5 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
scene_to_load = "res://Scenes/TitleScreen/Manual.tscn"
|
||||
|
||||
[node name="CreditsButton" parent="Menu/CenterRow/Buttons" instance=ExtResource( 3 )]
|
||||
|
@ -67,6 +70,9 @@ margin_bottom = 412.0
|
|||
rect_min_size = Vector2( 360, 60 )
|
||||
flat = false
|
||||
script = ExtResource( 5 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
scene_to_load = "res://Scenes/TitleScreen/Credits.tscn"
|
||||
|
||||
[node name="CenterContainer" type="CenterContainer" parent="Menu/CenterRow"]
|
||||
|
|
|
@ -10,9 +10,6 @@ font_data = ExtResource( 1 )
|
|||
margin_right = 784.0
|
||||
margin_bottom = 20.0
|
||||
flat = true
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
margin_right = 40.0
|
||||
|
|
|
@ -8,6 +8,8 @@ extends Control
|
|||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
MusicController.play_intro_snow()
|
||||
|
||||
for button in $Menu/CenterRow/Buttons.get_children():
|
||||
button.connect("pressed", self, "_on_Button_pressed", [button.scene_to_load])
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue