|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
[gd_scene load_steps=19 format=3 uid="uid://det8556rpxhbv"]
|
|
|
|
|
[gd_scene load_steps=39 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"]
|
|
|
|
|
@ -14,10 +14,36 @@
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://bspwjmgsoxkbn" path="res://Sounds/gameover2.wav" id="9_rtdps"]
|
|
|
|
|
[ext_resource type="AudioStream" uid="uid://dlml6o3xscxqf" path="res://Sounds/weapon_player.wav" id="11_bbedd"]
|
|
|
|
|
[ext_resource type="Script" path="res://Scripts/GameArea.cs" id="11_p0rh7"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b8gy1u2i0jkyd" path="res://Images/restart.svg" id="15_nxptg"]
|
|
|
|
|
[ext_resource type="Script" path="res://Scripts/InputManager.cs" id="15_uovst"]
|
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Ui.cs" id="15_xl7yx"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://ddikd6m3t7prw" path="res://Images/generic_arrow_3.png" id="17_1t6sc"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dtjx04y046dsl" path="res://Images/generic_joystick_left.png" id="17_q54dq"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dru38hr1dwoq8" path="res://Images/generic_button_circle_fill.png" id="18_8e5pf"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bffseflkbu88e" path="res://Images/generic_arrow_long.png" id="18_b2vca"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://5lrd2y05neel" path="res://Images/genericItem_color_087.png" id="18_rfbsj"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c4l1soqbo0rud" path="res://Images/keyboard_arrows.png" id="19_dpw4m"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://34r8nb20e6y6" path="res://Images/genericItem_white_102.png" id="19_hyybv"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bnh0rcsf30nrm" path="res://Images/keyboard_w.png" id="20_3aqu5"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://b3ucjch8b7rve" path="res://Images/flair_disabled_cross.png" id="21_7mvgi"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://cm7ru4t8ka3jn" path="res://Images/keyboard_a.png" id="21_of2rn"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://c2n36lnm2f5he" path="res://Images/keyboard_s.png" id="22_1rcux"]
|
|
|
|
|
[ext_resource type="Texture2D" uid="uid://uy20bgblsk4x" path="res://Images/keyboard_d.png" id="23_o81a8"]
|
|
|
|
|
[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"]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_vf3s8"]
|
|
|
|
|
font_size = 50
|
|
|
|
|
font_color = Color(0.233592, 0.506913, 1, 1)
|
|
|
|
|
outline_size = 3
|
|
|
|
|
outline_color = Color(0, 1, 0.00392157, 1)
|
|
|
|
|
shadow_size = 10
|
|
|
|
|
shadow_offset = Vector2(5, 5)
|
|
|
|
|
|
|
|
|
|
[sub_resource type="InputEventKey" id="InputEventKey_gjrl7"]
|
|
|
|
|
device = -1
|
|
|
|
|
keycode = 4194309
|
|
|
|
|
@ -25,18 +51,34 @@ keycode = 4194309
|
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_soxs4"]
|
|
|
|
|
events = [SubResource("InputEventKey_gjrl7")]
|
|
|
|
|
|
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_dqsad"]
|
|
|
|
|
font_size = 50
|
|
|
|
|
font_color = Color(1, 0, 0, 1)
|
|
|
|
|
outline_size = 3
|
|
|
|
|
outline_color = Color(1, 0.999986, 0.00293482, 1)
|
|
|
|
|
shadow_size = 10
|
|
|
|
|
shadow_offset = Vector2(5, 5)
|
|
|
|
|
|
|
|
|
|
[node name="SpaceShooter" type="Node3D"]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
|
|
|
|
|
[node name="PlayerShip" parent="." instance=ExtResource("1_njb5h")]
|
|
|
|
|
[node name="PlayerShip" parent="." node_paths=PackedStringArray("jet", "rbPlayer", "shots") instance=ExtResource("1_njb5h")]
|
|
|
|
|
process_mode = 1
|
|
|
|
|
transform = Transform3D(-1, 0, -8.74228e-08, 0, 1, 0, 8.74227e-08, 0, -1, 0, 0, 5)
|
|
|
|
|
jet = NodePath("RigidBody3D/Jet")
|
|
|
|
|
rbPlayer = NodePath("RigidBody3D")
|
|
|
|
|
shots = NodePath("Shots")
|
|
|
|
|
|
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="."]
|
|
|
|
|
process_mode = 1
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, -4.37114e-08, 1, 0, -1, -4.37114e-08, 0, 8.8, 0)
|
|
|
|
|
|
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
|
|
|
process_mode = 1
|
|
|
|
|
transform = Transform3D(1, 0, 0, 0, 0.707106, 0.707106, 0, -0.707106, 0.707106, 10, 10, 10)
|
|
|
|
|
|
|
|
|
|
[node name="Background" type="Sprite3D" parent="."]
|
|
|
|
|
process_mode = 1
|
|
|
|
|
transform = Transform3D(1.1, 0, 0, 0, -4.80825e-08, -1, 0, 1.1, -4.37114e-08, 0, -0.5, 0)
|
|
|
|
|
billboard = 1
|
|
|
|
|
shaded = true
|
|
|
|
|
@ -46,7 +88,11 @@ region_enabled = true
|
|
|
|
|
region_rect = Rect2(0, 0, 810, 1380)
|
|
|
|
|
script = ExtResource("3_imgbw")
|
|
|
|
|
|
|
|
|
|
[node name="Asteroids" type="Node3D" parent="."]
|
|
|
|
|
process_mode = 1
|
|
|
|
|
|
|
|
|
|
[node name="GameArea" type="Node3D" parent="."]
|
|
|
|
|
process_mode = 1
|
|
|
|
|
script = ExtResource("11_p0rh7")
|
|
|
|
|
|
|
|
|
|
[node name="Bottom" type="RigidBody3D" parent="GameArea"]
|
|
|
|
|
@ -80,6 +126,7 @@ transform = Transform3D(15, 0, 0, 0, 15, 0, 0, 0, 15, 0, 0, 0)
|
|
|
|
|
shape = SubResource("BoxShape3D_bw288")
|
|
|
|
|
|
|
|
|
|
[node name="SoundManager" type="Node" parent="." node_paths=PackedStringArray("backgroundMusic", "gameOverMusic", "asteroidExplosionSound", "playerExplosionSound", "laserSound")]
|
|
|
|
|
process_mode = 1
|
|
|
|
|
script = ExtResource("8_4ksf0")
|
|
|
|
|
backgroundMusic = NodePath("BackgroundMusic")
|
|
|
|
|
gameOverMusic = NodePath("GameOverMusic")
|
|
|
|
|
@ -103,118 +150,331 @@ stream = ExtResource("9_rtdps")
|
|
|
|
|
[node name="LaserSound" type="AudioStreamPlayer3D" parent="SoundManager"]
|
|
|
|
|
stream = ExtResource("11_bbedd")
|
|
|
|
|
|
|
|
|
|
[node name="GameManager" type="Node" parent="." node_paths=PackedStringArray("asteroidsContainer", "labelAsteroids", "labelLevel", "labelLifes", "labelNextLevel", "labelPoints", "labelDebug", "labelGameOver", "restartButton", "reachedPointsLabel")]
|
|
|
|
|
[node name="GameManager" type="Node" parent="." node_paths=PackedStringArray("asteroidsContainer")]
|
|
|
|
|
process_mode = 1
|
|
|
|
|
script = ExtResource("9_rsrr5")
|
|
|
|
|
debug = false
|
|
|
|
|
asteroids = Array[PackedScene]([ExtResource("5_do6ba"), ExtResource("6_tqoe7"), ExtResource("7_v6ul2")])
|
|
|
|
|
asteroidsContainer = NodePath("../Asteroids")
|
|
|
|
|
labelAsteroids = NodePath("../Control/LabelAsteroids")
|
|
|
|
|
labelLevel = NodePath("../Control/LabelLevel")
|
|
|
|
|
labelLifes = NodePath("../Control/LabelLives")
|
|
|
|
|
labelNextLevel = NodePath("../Control/LabelNextLevel")
|
|
|
|
|
labelPoints = NodePath("../Control/LabelPoints")
|
|
|
|
|
labelDebug = NodePath("../Control/LabelDebug")
|
|
|
|
|
labelGameOver = NodePath("../Control/LabelGameOver")
|
|
|
|
|
restartButton = NodePath("../Control/RestartButton")
|
|
|
|
|
reachedPointsLabel = NodePath("../Control/ReachedPointsLabel")
|
|
|
|
|
|
|
|
|
|
[node name="Asteroids" type="Node3D" parent="."]
|
|
|
|
|
[node name="InputManager" type="Node" parent="."]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
script = ExtResource("15_uovst")
|
|
|
|
|
|
|
|
|
|
[node name="Ui" type="Node2D" parent="." node_paths=PackedStringArray("lblLevel", "lblPoints", "barHealth", "barLevel", "vBoxGameOver", "lblGameOver", "butGameOverRestart", "lblReachedPoints", "butGameOverExit", "vBoxPause", "buttonResume", "buttonPauseRestart", "butPauseExit", "vBoxCountdown", "lblCountdown", "textAnyKey", "lblAnyKey")]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
script = ExtResource("15_xl7yx")
|
|
|
|
|
lblLevel = NodePath("HBoxTop/VBoxStats/lblLevel")
|
|
|
|
|
lblPoints = NodePath("HBoxTop/VBoxStats/lblPoints")
|
|
|
|
|
barHealth = NodePath("HBoxTop/VBoxBars/barHealth")
|
|
|
|
|
barLevel = NodePath("HBoxTop/VBoxBars/barProgress")
|
|
|
|
|
vBoxGameOver = NodePath("VBoxGameOver")
|
|
|
|
|
lblGameOver = NodePath("VBoxGameOver/lblGameOver")
|
|
|
|
|
butGameOverRestart = NodePath("VBoxGameOver/butGameOverRestart")
|
|
|
|
|
lblReachedPoints = NodePath("VBoxGameOver/lblReachedPoints")
|
|
|
|
|
butGameOverExit = NodePath("VBoxGameOver/butGameOverExit")
|
|
|
|
|
vBoxPause = NodePath("VBoxPause")
|
|
|
|
|
buttonResume = NodePath("VBoxPause/ButtonResume")
|
|
|
|
|
buttonPauseRestart = NodePath("VBoxPause/butPauseRestart")
|
|
|
|
|
butPauseExit = NodePath("VBoxPause/butPauseExit")
|
|
|
|
|
vBoxCountdown = NodePath("VBoxCountdown")
|
|
|
|
|
lblCountdown = NodePath("VBoxCountdown/lblCountdown")
|
|
|
|
|
textAnyKey = NodePath("VBoxCountdown/textPressKey")
|
|
|
|
|
lblAnyKey = NodePath("VBoxCountdown/lblPressKey")
|
|
|
|
|
|
|
|
|
|
[node name="HBoxTop" type="HBoxContainer" parent="Ui"]
|
|
|
|
|
custom_minimum_size = Vector2(700, 0)
|
|
|
|
|
anchors_preset = 5
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
offset_left = 50.0
|
|
|
|
|
offset_top = 50.0
|
|
|
|
|
offset_right = 754.0
|
|
|
|
|
offset_bottom = 104.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
|
|
|
|
|
[node name="VBoxIconsLevelPoints" type="VBoxContainer" parent="Ui/HBoxTop"]
|
|
|
|
|
custom_minimum_size = Vector2(50, 50)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
tooltip_text = "10 / 10"
|
|
|
|
|
|
|
|
|
|
[node name="textLevel" type="TextureRect" parent="Ui/HBoxTop/VBoxIconsLevelPoints"]
|
|
|
|
|
custom_minimum_size = Vector2(25, 25)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
texture = ExtResource("17_q54dq")
|
|
|
|
|
expand_mode = 4
|
|
|
|
|
|
|
|
|
|
[node name="textPoints" type="TextureRect" parent="Ui/HBoxTop/VBoxIconsLevelPoints"]
|
|
|
|
|
custom_minimum_size = Vector2(25, 25)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
texture = ExtResource("18_8e5pf")
|
|
|
|
|
expand_mode = 4
|
|
|
|
|
|
|
|
|
|
[node name="VBoxStats" type="VBoxContainer" parent="Ui/HBoxTop"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="lblLevel" type="Label" parent="Ui/HBoxTop/VBoxStats"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 1
|
|
|
|
|
text = "1"
|
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="lblPoints" type="Label" parent="Ui/HBoxTop/VBoxStats"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 1
|
|
|
|
|
text = "0"
|
|
|
|
|
horizontal_alignment = 2
|
|
|
|
|
|
|
|
|
|
[node name="VBoxIconsLifeLevel" type="VBoxContainer" parent="Ui/HBoxTop"]
|
|
|
|
|
custom_minimum_size = Vector2(50, 50)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
tooltip_text = "10 / 10"
|
|
|
|
|
|
|
|
|
|
[node name="textLife" type="TextureRect" parent="Ui/HBoxTop/VBoxIconsLifeLevel"]
|
|
|
|
|
custom_minimum_size = Vector2(25, 25)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
texture = ExtResource("19_hyybv")
|
|
|
|
|
expand_mode = 4
|
|
|
|
|
|
|
|
|
|
[node name="Control" type="Control" parent="."]
|
|
|
|
|
layout_mode = 3
|
|
|
|
|
anchors_preset = 0
|
|
|
|
|
offset_right = 40.0
|
|
|
|
|
offset_bottom = 40.0
|
|
|
|
|
|
|
|
|
|
[node name="LabelAsteroids" type="RichTextLabel" parent="Control"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
offset_left = 20.0
|
|
|
|
|
offset_top = 20.0
|
|
|
|
|
offset_right = 260.0
|
|
|
|
|
offset_bottom = 40.0
|
|
|
|
|
text = "Asteroids: 0"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelLives" type="RichTextLabel" parent="Control"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
offset_left = 20.0
|
|
|
|
|
offset_top = 40.0
|
|
|
|
|
offset_right = 260.0
|
|
|
|
|
offset_bottom = 60.0
|
|
|
|
|
text = "Lives: 3"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelPoints" type="RichTextLabel" parent="Control"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
offset_left = 20.0
|
|
|
|
|
offset_top = 60.0
|
|
|
|
|
offset_right = 260.0
|
|
|
|
|
offset_bottom = 80.0
|
|
|
|
|
text = "Points: 0"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelLevel" type="RichTextLabel" parent="Control"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
offset_left = 20.0
|
|
|
|
|
offset_top = 80.0
|
|
|
|
|
offset_right = 260.0
|
|
|
|
|
offset_bottom = 100.0
|
|
|
|
|
text = "Level: 1"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelNextLevel" type="RichTextLabel" parent="Control"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
offset_left = 20.0
|
|
|
|
|
offset_top = 100.0
|
|
|
|
|
offset_right = 260.0
|
|
|
|
|
offset_bottom = 120.0
|
|
|
|
|
text = "Next Level: 10"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelDebug" type="RichTextLabel" parent="Control"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
offset_left = 543.0
|
|
|
|
|
offset_top = 1225.0
|
|
|
|
|
offset_right = 783.0
|
|
|
|
|
offset_bottom = 1245.0
|
|
|
|
|
scale = Vector2(1, 1.88)
|
|
|
|
|
bbcode_enabled = true
|
|
|
|
|
text = "[right][color=red]Debug[/color][/right]"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="LabelGameOver" type="RichTextLabel" parent="Control"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
offset_left = 12.0
|
|
|
|
|
offset_top = 437.0
|
|
|
|
|
offset_right = 230.0
|
|
|
|
|
offset_bottom = 460.0
|
|
|
|
|
scale = Vector2(3.6, 7.48)
|
|
|
|
|
bbcode_enabled = true
|
|
|
|
|
text = "[center][shake rate=30 level=10 connected=1][rainbow freq=1.0 sat=0.8 val=0.8]Game Over[/rainbow][/shake][/center]"
|
|
|
|
|
scroll_active = false
|
|
|
|
|
shortcut_keys_enabled = false
|
|
|
|
|
|
|
|
|
|
[node name="RestartButton" type="Button" parent="Control"]
|
|
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 354.0
|
|
|
|
|
offset_top = 644.0
|
|
|
|
|
offset_right = 462.0
|
|
|
|
|
offset_bottom = 777.0
|
|
|
|
|
[node name="textProgress" type="TextureRect" parent="Ui/HBoxTop/VBoxIconsLifeLevel"]
|
|
|
|
|
custom_minimum_size = Vector2(25, 25)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
texture = ExtResource("18_rfbsj")
|
|
|
|
|
expand_mode = 4
|
|
|
|
|
|
|
|
|
|
[node name="VBoxBars" type="VBoxContainer" parent="Ui/HBoxTop"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
tooltip_text = "10 / 10"
|
|
|
|
|
|
|
|
|
|
[node name="barHealth" type="ProgressBar" parent="Ui/HBoxTop/VBoxBars"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
max_value = 10.0
|
|
|
|
|
value = 10.0
|
|
|
|
|
rounded = true
|
|
|
|
|
show_percentage = false
|
|
|
|
|
|
|
|
|
|
[node name="barProgress" type="ProgressBar" parent="Ui/HBoxTop/VBoxBars"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
max_value = 10.0
|
|
|
|
|
value = 10.0
|
|
|
|
|
rounded = true
|
|
|
|
|
show_percentage = false
|
|
|
|
|
|
|
|
|
|
[node name="VBoxCountdown" type="VBoxContainer" parent="Ui"]
|
|
|
|
|
offset_left = 326.0
|
|
|
|
|
offset_top = 429.0
|
|
|
|
|
offset_right = 492.0
|
|
|
|
|
offset_bottom = 797.0
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 4
|
|
|
|
|
alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="lblCountdown" type="Label" parent="Ui/VBoxCountdown"]
|
|
|
|
|
visible = false
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
[node name="VBoxPause" 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 = 205.0
|
|
|
|
|
offset_top = 451.0
|
|
|
|
|
offset_right = 613.0
|
|
|
|
|
offset_bottom = 672.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
|
|
[node name="LabelPause" type="Label" parent="Ui/VBoxPause"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Pause"
|
|
|
|
|
label_settings = SubResource("LabelSettings_vf3s8")
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="ButtonResume" type="Button" parent="Ui/VBoxPause"]
|
|
|
|
|
custom_minimum_size = Vector2(200, 0)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
button_mask = 5
|
|
|
|
|
text = "Resume
|
|
|
|
|
"
|
|
|
|
|
icon = ExtResource("18_b2vca")
|
|
|
|
|
|
|
|
|
|
[node name="butPauseRestart" type="Button" parent="Ui/VBoxPause"]
|
|
|
|
|
custom_minimum_size = Vector2(200, 0)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
button_mask = 5
|
|
|
|
|
shortcut = SubResource("Shortcut_soxs4")
|
|
|
|
|
text = "Restart"
|
|
|
|
|
icon = ExtResource("17_1t6sc")
|
|
|
|
|
|
|
|
|
|
[node name="butPauseExit" type="Button" parent="Ui/VBoxPause"]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
custom_minimum_size = Vector2(200, 0)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
button_mask = 5
|
|
|
|
|
shortcut = SubResource("Shortcut_soxs4")
|
|
|
|
|
icon = ExtResource("15_nxptg")
|
|
|
|
|
icon_alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="ReachedPointsLabel" type="RichTextLabel" parent="Control"]
|
|
|
|
|
layout_mode = 0
|
|
|
|
|
offset_left = 173.0
|
|
|
|
|
offset_top = 600.0
|
|
|
|
|
offset_right = 652.0
|
|
|
|
|
offset_bottom = 626.0
|
|
|
|
|
bbcode_enabled = true
|
|
|
|
|
text = "[center]You have reached level 1 and 0 points![/center]"
|
|
|
|
|
text = "Exit"
|
|
|
|
|
icon = ExtResource("21_7mvgi")
|
|
|
|
|
|
|
|
|
|
[node name="VBoxGameOver" type="VBoxContainer" parent="Ui"]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
anchors_preset = 8
|
|
|
|
|
anchor_left = 0.5
|
|
|
|
|
anchor_top = 0.5
|
|
|
|
|
anchor_right = 0.5
|
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
|
offset_left = 201.0
|
|
|
|
|
offset_top = 451.0
|
|
|
|
|
offset_right = 609.0
|
|
|
|
|
offset_bottom = 749.0
|
|
|
|
|
grow_horizontal = 2
|
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
|
|
[node name="lblGameOver" type="Label" parent="Ui/VBoxGameOver"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Game Over"
|
|
|
|
|
label_settings = SubResource("LabelSettings_dqsad")
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|
|
|
|
|
[node name="lblReachedPoints" type="Label" parent="Ui/VBoxGameOver"]
|
|
|
|
|
custom_minimum_size = Vector2(0, 100)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "You have reached level 1 and 0 points!"
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
autowrap_mode = 3
|
|
|
|
|
|
|
|
|
|
[node name="butGameOverRestart" type="Button" parent="Ui/VBoxGameOver"]
|
|
|
|
|
custom_minimum_size = Vector2(200, 0)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
button_mask = 5
|
|
|
|
|
shortcut = SubResource("Shortcut_soxs4")
|
|
|
|
|
text = "Restart"
|
|
|
|
|
icon = ExtResource("17_1t6sc")
|
|
|
|
|
|
|
|
|
|
[node name="butGameOverExit" type="Button" parent="Ui/VBoxGameOver"]
|
|
|
|
|
process_mode = 3
|
|
|
|
|
custom_minimum_size = Vector2(200, 0)
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
size_flags_horizontal = 4
|
|
|
|
|
size_flags_vertical = 6
|
|
|
|
|
button_mask = 5
|
|
|
|
|
shortcut = SubResource("Shortcut_soxs4")
|
|
|
|
|
text = "Exit"
|
|
|
|
|
icon = ExtResource("21_7mvgi")
|
|
|
|
|
|
|
|
|
|
[node name="BoxHelp" type="BoxContainer" parent="Ui"]
|
|
|
|
|
anchors_preset = 3
|
|
|
|
|
anchor_left = 1.0
|
|
|
|
|
anchor_top = 1.0
|
|
|
|
|
anchor_right = 1.0
|
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
|
offset_left = 633.0
|
|
|
|
|
offset_top = 1064.0
|
|
|
|
|
offset_right = 785.0
|
|
|
|
|
offset_bottom = 1264.0
|
|
|
|
|
grow_horizontal = 0
|
|
|
|
|
grow_vertical = 0
|
|
|
|
|
|
|
|
|
|
[node name="VBoxHelp" type="VBoxContainer" parent="Ui/BoxHelp"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="HBoxMovement" type="HBoxContainer" parent="Ui/BoxHelp/VBoxHelp"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="TextureArrowKeys" type="TextureRect" parent="Ui/BoxHelp/VBoxHelp/HBoxMovement"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
texture = ExtResource("19_dpw4m")
|
|
|
|
|
|
|
|
|
|
[node name="TextureW" type="TextureRect" parent="Ui/BoxHelp/VBoxHelp/HBoxMovement"]
|
|
|
|
|
visible = false
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
texture = ExtResource("20_3aqu5")
|
|
|
|
|
|
|
|
|
|
[node name="TextureA" type="TextureRect" parent="Ui/BoxHelp/VBoxHelp/HBoxMovement"]
|
|
|
|
|
visible = false
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
texture = ExtResource("21_of2rn")
|
|
|
|
|
|
|
|
|
|
[node name="TextureS" type="TextureRect" parent="Ui/BoxHelp/VBoxHelp/HBoxMovement"]
|
|
|
|
|
visible = false
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
texture = ExtResource("22_1rcux")
|
|
|
|
|
|
|
|
|
|
[node name="TextureD" type="TextureRect" parent="Ui/BoxHelp/VBoxHelp/HBoxMovement"]
|
|
|
|
|
visible = false
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
texture = ExtResource("23_o81a8")
|
|
|
|
|
|
|
|
|
|
[node name="lblMovement" type="Label" parent="Ui/BoxHelp/VBoxHelp/HBoxMovement"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Movement
|
|
|
|
|
"
|
|
|
|
|
|
|
|
|
|
[node name="HBoxShooting" type="HBoxContainer" parent="Ui/BoxHelp/VBoxHelp"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="TextureSpace" type="TextureRect" parent="Ui/BoxHelp/VBoxHelp/HBoxShooting"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
texture = ExtResource("24_cuten")
|
|
|
|
|
|
|
|
|
|
[node name="TextureEnter" type="TextureRect" parent="Ui/BoxHelp/VBoxHelp/HBoxShooting"]
|
|
|
|
|
visible = false
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
texture = ExtResource("25_u4r31")
|
|
|
|
|
|
|
|
|
|
[node name="lblShooting" type="Label" parent="Ui/BoxHelp/VBoxHelp/HBoxShooting"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Shooting"
|
|
|
|
|
|
|
|
|
|
[node name="HBoxPause" type="HBoxContainer" parent="Ui/BoxHelp/VBoxHelp"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
[node name="TexturePause" type="TextureRect" parent="Ui/BoxHelp/VBoxHelp/HBoxPause"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
texture = ExtResource("26_oxfmw")
|
|
|
|
|
|
|
|
|
|
[node name="lblPause" type="Label" parent="Ui/BoxHelp/VBoxHelp/HBoxPause"]
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
text = "Pause"
|
|
|
|
|
|