Added intro scene

This commit is contained in:
2024-05-04 23:15:32 +01:00
parent 28e1cdb2cb
commit 5a40233292
6 changed files with 126 additions and 13 deletions

59
Intro.tscn Normal file
View File

@@ -0,0 +1,59 @@
[gd_scene load_steps=5 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"]
[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, 1), 0.0, 0.0, 0, 0]
point_count = 2
[node name="Intro" type="Node2D"]
script = ExtResource("1_1hnh1")
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
position = Vector2(311, 164)
amount = 100
speed_scale = 0.1
randomness = 1.0
direction = Vector2(0, 0)
spread = 180.0
gravity = Vector2(0, 0)
initial_velocity_min = 80.81
initial_velocity_max = 838.38
linear_accel_min = 100.0
linear_accel_max = 100.0
linear_accel_curve = SubResource("Curve_jhhjd")
[node name="Label" type="Label" parent="."]
material = ExtResource("2_a44d8")
offset_top = 88.0
offset_right = 640.0
offset_bottom = 111.0
theme = ExtResource("3_8d2ix")
theme_type_variation = &"Arkanoid"
text = "DUNKANOID"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Label2" type="Label" parent="."]
material = ExtResource("2_a44d8")
offset_top = 113.0
offset_right = 640.0
offset_bottom = 138.0
theme = ExtResource("3_8d2ix")
theme_type_variation = &"Arkanoid"
text = "REVENGE OF AAH"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Button" type="Button" parent="."]
offset_left = 288.0
offset_top = 186.0
offset_right = 335.0
offset_bottom = 217.0
text = "PLAY"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]