Improved graphics. Added game over scene

This commit is contained in:
2024-05-05 13:42:51 +01:00
parent 5a40233292
commit fef3ae9d8e
24 changed files with 392 additions and 48 deletions

View File

@@ -14,7 +14,7 @@ point_count = 2
script = ExtResource("1_1hnh1")
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
position = Vector2(311, 164)
position = Vector2(320, 180)
amount = 100
speed_scale = 0.1
randomness = 1.0
@@ -27,33 +27,95 @@ 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
[node name="VBoxContainer" type="VBoxContainer" parent="."]
offset_top = 104.0
offset_right = 640.0
offset_bottom = 111.0
offset_bottom = 232.0
[node name="Dunkanoid" type="Label" parent="VBoxContainer"]
material = ExtResource("2_a44d8")
layout_mode = 2
theme = ExtResource("3_8d2ix")
theme_type_variation = &"Arkanoid"
text = "DUNKANOID"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Label2" type="Label" parent="."]
[node name="Revenge" type="Label" parent="VBoxContainer"]
material = ExtResource("2_a44d8")
offset_top = 113.0
offset_right = 640.0
offset_bottom = 138.0
layout_mode = 2
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"
[node name="VSeparator" type="VSeparator" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("3_8d2ix")
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]
[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="Play" type="Button" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
theme = ExtResource("3_8d2ix")
text = "PLAY"
icon_alignment = 1
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 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="HSeparator" type="HSeparator" parent="HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme = ExtResource("3_8d2ix")
[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
[connection signal="pressed" from="VBoxContainer/HBoxContainer/Play" to="." method="_on_button_pressed"]