Files
Dunkanoid/Intro.tscn

263 lines
7.9 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://c2oboya05agti"]
[ext_resource type="Script" path="res://Intro.gd" id="1_1hnh1"]
[ext_resource type="Material" uid="uid://bv4vhjg83fqpn" path="res://ArkanoidMaterial.tres" id="2_a44d8"]
[ext_resource type="Theme" uid="uid://cfvww0geatnnk" path="res://MainTheme.tres" id="3_8d2ix"]
[ext_resource type="Script" path="res://ArkaLabel.gd" id="3_dqq2b"]
[ext_resource type="Script" path="res://ExitButton.gd" id="4_ty0na"]
[ext_resource type="PackedScene" uid="uid://deyotp28r4uwj" path="res://LoadPanel.tscn" id="5_esv62"]
[sub_resource type="Curve" id="Curve_jhhjd"]
min_value = -200.0
max_value = 200.0
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 200), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="Gradient" id="Gradient_431mb"]
colors = PackedColorArray(0, 0, 0, 0, 1, 1, 1, 1)
[node name="Intro" type="Node2D"]
script = ExtResource("1_1hnh1")
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
position = Vector2(320, 180)
amount = 250
lifetime = 0.1
speed_scale = 0.1
randomness = 1.0
direction = Vector2(0, 0)
spread = 180.0
gravity = Vector2(0, 0)
initial_velocity_min = 10.0
initial_velocity_max = 800.0
linear_accel_min = 100.0
linear_accel_max = 1000.0
linear_accel_curve = SubResource("Curve_jhhjd")
color_ramp = SubResource("Gradient_431mb")
hue_variation_max = 1.0
[node name="VBoxContainer" type="VBoxContainer" parent="."]
offset_right = 640.0
offset_bottom = 297.0
[node name="VSeparator3" type="VSeparator" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("3_8d2ix")
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="ArkaLabel" type="Label" parent="VBoxContainer/HBoxContainer"]
material = ExtResource("2_a44d8")
layout_mode = 2
theme = ExtResource("3_8d2ix")
theme_type_variation = &"Arkanoid"
text = "DUNKANOID"
script = ExtResource("3_dqq2b")
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="Revenge" type="Label" parent="VBoxContainer/HBoxContainer2"]
material = ExtResource("2_a44d8")
layout_mode = 2
theme = ExtResource("3_8d2ix")
theme_type_variation = &"Arkanoid"
text = "REVENGE OF AAH"
script = ExtResource("3_dqq2b")
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="VSeparator" type="VSeparator" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("3_8d2ix")
[node name="Play" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/Play"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="Play" type="Button" parent="VBoxContainer/Play"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
text = "PLAY"
icon_alignment = 1
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/Play"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="PlayLevel" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/PlayLevel"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="PlayLevel" type="Button" parent="VBoxContainer/PlayLevel"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
text = "PLAY LEVEL"
icon_alignment = 1
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/PlayLevel"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="LevelEditor" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/LevelEditor"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="Editor" type="Button" parent="VBoxContainer/LevelEditor"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
text = "LEVEL EDITOR"
icon_alignment = 1
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/LevelEditor"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="Settings" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/Settings"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="Settings" type="Button" parent="VBoxContainer/Settings"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
text = "SETTINGS"
icon_alignment = 1
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/Settings"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="ExitButton" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
script = ExtResource("4_ty0na")
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/ExitButton"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="Exit" type="Button" parent="VBoxContainer/ExitButton"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
text = "EXIT"
icon_alignment = 1
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/ExitButton"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[node name="VSeparator2" type="VSeparator" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("3_8d2ix")
[node name="HBoxContainer" type="HBoxContainer" parent="."]
offset_left = 18.0
offset_top = 297.0
offset_right = 624.0
offset_bottom = 343.0
size_flags_horizontal = 3
[node name="Score" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
[node name="ScoreLabel" type="Label" parent="HBoxContainer/Score"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
text = "Score"
[node name="ScoreBox" type="Label" parent="HBoxContainer/Score"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
theme_type_variation = &"Numbers"
text = "00000000"
vertical_alignment = 1
[node name="Credits" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="CreditsRole" type="Label" parent="HBoxContainer/Credits"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
horizontal_alignment = 1
[node name="CreditsPerson" type="Label" parent="HBoxContainer/Credits"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
theme_type_variation = &"LargeLabel"
horizontal_alignment = 1
vertical_alignment = 1
[node name="HighScore" type="VBoxContainer" parent="HBoxContainer"]
layout_mode = 2
[node name="HighScoreLabel" type="Label" parent="HBoxContainer/HighScore"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
text = "High Score"
horizontal_alignment = 2
[node name="HighScoreBox" type="Label" parent="HBoxContainer/HighScore"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
theme_type_variation = &"Numbers"
text = "00000000"
horizontal_alignment = 2
vertical_alignment = 1
[node name="LoadPanel" parent="." instance=ExtResource("5_esv62")]
offset_left = 239.0
offset_top = 116.0
offset_right = 399.0
offset_bottom = 297.0
[connection signal="pressed" from="VBoxContainer/Play/Play" to="." method="_on_button_pressed"]
[connection signal="pressed" from="VBoxContainer/PlayLevel/PlayLevel" to="." method="_on_play_level_pressed"]
[connection signal="pressed" from="VBoxContainer/LevelEditor/Editor" to="." method="_on_editor_pressed"]
[connection signal="pressed" from="VBoxContainer/Settings/Settings" to="." method="_on_settings_pressed"]
[connection signal="pressed" from="VBoxContainer/ExitButton/Exit" to="." method="_on_exit_pressed"]
[connection signal="load_level" from="LoadPanel" to="." method="_on_load_panel_load_level"]