|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
[gd_scene load_steps=32 format=3 uid="uid://det8556rpxhbv"]
|
|
|
|
|
[gd_scene load_steps=34 format=3 uid="uid://det8556rpxhbv"]
|
|
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://tlr55u0gn20l" path="res://Packed-Scenes/PlayerShip.tscn" id="1_njb5h"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cg6n1hh3lj7rn" path="res://Textures/tile_nebula_green_dff.png" id="2_43vix"]
|
|
|
|
|
@ -26,6 +26,8 @@
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dkc2vx71bnhdh" path="res://Images/keyboard_space.png" id="24_cuten"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dojdjls5b310j" path="res://Images/keyboard_enter.png" id="25_u4r31"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dh4l4vkgkjxup" path="res://Images/keyboard_escape.png" id="26_oxfmw"]
|
|
|
|
|
[ext_resource type="LabelSettings" uid="uid://cdqcuhuk1yclm" path="res://Material/lblSettingsCountdown.tres" id="27_0p8jc"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c5tms7y368pit" path="res://Images/keyboard_any.png" id="28_g1v6s"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_bw288"]
|
|
|
|
|
|
|
|
|
|
@ -153,7 +155,7 @@ asteroidsContainer = NodePath("../Asteroids")
|
|
|
|
|
process_mode = 3
|
|
|
|
|
script = ExtResource("15_uovst")
|
|
|
|
|
|
|
|
|
|
[node name="Ui" type="Node2D" parent="." node_paths=PackedStringArray("rtlAsteroids", "rtlLevel", "rtlLifes", "rtlNextLevel", "rtlPoints", "vBoxGameOver", "lblGameOver", "buttonRestart", "lblReachedPoints", "healthBar", "vBoxPause", "buttonResume", "buttonPauseRestart")]
|
|
|
|
|
[node name="Ui" type="Node2D" parent="." node_paths=PackedStringArray("rtlAsteroids", "rtlLevel", "rtlLifes", "rtlNextLevel", "rtlPoints", "vBoxGameOver", "lblGameOver", "buttonRestart", "lblReachedPoints", "healthBar", "vBoxPause", "buttonResume", "buttonPauseRestart", "vBoxCountdown", "lblCountdown", "textAnyKey", "lblAnyKey")]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
script = ExtResource("15_xl7yx")
|
|
|
|
|
rtlAsteroids = NodePath("VBoxStats/rtlAsteroids")
|
|
|
|
|
@ -169,6 +171,10 @@ healthBar = NodePath("VBoxHealth/HealthBar")
|
|
|
|
|
vBoxPause = NodePath("VBoxPause")
|
|
|
|
|
buttonResume = NodePath("VBoxPause/ButtonResume")
|
|
|
|
|
buttonPauseRestart = NodePath("VBoxPause/PauseRestartButton")
|
|
|
|
|
vBoxCountdown = NodePath("VBoxCountdown")
|
|
|
|
|
lblCountdown = NodePath("VBoxCountdown/lblCountdown")
|
|
|
|
|
textAnyKey = NodePath("VBoxCountdown/textPressKey")
|
|
|
|
|
lblAnyKey = NodePath("VBoxCountdown/lblPressKey")
|
|
|
|
|
|
|
|
|
|
[node name="VBoxStats" type="VBoxContainer" parent="Ui"]
|
|
|
|
|
anchors_preset = 2
|
|
|
|
|
@ -216,6 +222,7 @@ scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="VBoxGameOver" type="VBoxContainer" parent="Ui"]
|
|
|
|
|
visible = false
|
|
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
@ -379,3 +386,41 @@ texture = ExtResource("26_oxfmw")
|
|
|
|
|
[node name="lblPause" type="Label" parent="Ui/BoxHelp/VBoxHelp/HBoxPause"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Pause"
|
|
|
|
|
|
|
|
|
|
[node name="VBoxCountdown" type="VBoxContainer" parent="Ui"]
|
|
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = 330.0
|
|
|
|
|
offset_top = 524.0
|
|
|
|
|
offset_right = 496.0
|
|
|
|
|
offset_bottom = 892.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="lblCountdown" type="Label" parent="Ui/VBoxCountdown"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
text = "3"
|
|
|
|
|
label_settings = ExtResource("27_0p8jc")
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="textPressKey" type="TextureRect" parent="Ui/VBoxCountdown"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
texture = ExtResource("28_g1v6s")
|
|
|
|
|
stretch_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="lblPressKey" type="Label" parent="Ui/VBoxCountdown"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
text = "Press any key to start"
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|