полнценая система прогресаа и конца уровне с началом и концом
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
[gd_scene format=3 uid="uid://cxckcssgallbx"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://dux8o5uwin1sy" path="res://addons/Misc/Scripts/level_trigger.gd" id="1_1g6t3"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://dflmd4037fdqa" path="res://addons/custmode/untitled.obj" id="1_tam0r"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_pmktt"]
|
||||
|
||||
[sub_resource type="SphereShape3D" id="SphereShape3D_a2m1y"]
|
||||
radius = 6.0
|
||||
|
||||
[node name="LevelTrigger" type="StaticBody3D" unique_id=549172302]
|
||||
script = ExtResource("1_1g6t3")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1715081297]
|
||||
transform = Transform3D(6.355, 0, 0, 0, 6.355, 0, 0, 0, 6.355, 0, 0, 0)
|
||||
shape = SubResource("SphereShape3D_pmktt")
|
||||
|
||||
[node name="MeshInstance3D" type="MeshInstance3D" parent="CollisionShape3D" unique_id=1423996988]
|
||||
transform = Transform3D(0.06, 0, 0, 0, 0.06, 0, 0, 0, 0.06, 0, -0.47206923, 0)
|
||||
mesh = ExtResource("1_tam0r")
|
||||
|
||||
[node name="DetectArea" type="Area3D" parent="." unique_id=1314234424]
|
||||
collision_layer = 0
|
||||
collision_mask = 15
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="DetectArea" unique_id=1390638580]
|
||||
shape = SubResource("SphereShape3D_a2m1y")
|
||||
@@ -0,0 +1,57 @@
|
||||
[gd_scene format=3 uid="uid://c1v246tyt6bng"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://bojftnghiqd2g" path="res://addons/Misc/Scripts/results_screen.gd" id="1_esv6s"]
|
||||
|
||||
[node name="ResultsScreen" type="CanvasLayer" unique_id=2101110637]
|
||||
layer = 1000000000
|
||||
script = ExtResource("1_esv6s")
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="." unique_id=864255331]
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.586
|
||||
anchor_top = 0.45200002
|
||||
anchor_right = 0.586
|
||||
anchor_bottom = 0.45200002
|
||||
offset_left = -84.07202
|
||||
offset_top = -113.89603
|
||||
offset_right = 82.92798
|
||||
offset_bottom = -90.89603
|
||||
text = "УРОВЕНЬ ЗАВЕРШЕН"
|
||||
|
||||
[node name="KillsLabel" type="Label" parent="." unique_id=1676098116]
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.56700003
|
||||
anchor_top = 0.43300003
|
||||
anchor_right = 0.56700003
|
||||
anchor_bottom = 0.43300003
|
||||
offset_left = -69.18402
|
||||
offset_top = 62.415985
|
||||
offset_right = 68.81598
|
||||
offset_bottom = 85.415985
|
||||
text = "Убито врагов: 0\"."
|
||||
|
||||
[node name="TimeLabel" type="Label" parent="." unique_id=466879962]
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.60200006
|
||||
anchor_top = 0.46500003
|
||||
anchor_right = 0.60200006
|
||||
anchor_bottom = 0.46500003
|
||||
offset_left = -108.50409
|
||||
offset_top = 84.67999
|
||||
offset_right = 108.49591
|
||||
offset_bottom = 107.67999
|
||||
text = "Время прохождения: 00:00"
|
||||
|
||||
[node name="ContinueButton" type="Button" parent="." unique_id=1156988049]
|
||||
anchors_preset = -1
|
||||
anchor_left = 0.586
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.586
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -92.07202
|
||||
offset_top = 122.0
|
||||
offset_right = 57.92798
|
||||
offset_bottom = 180.0
|
||||
text = "Далее"
|
||||
|
||||
[connection signal="pressed" from="ContinueButton" to="." method="_on_continue_button_pressed"]
|
||||
Reference in New Issue
Block a user