mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 22:03:47 +00:00
Death animations and spawner
This commit is contained in:
parent
4fd31d7988
commit
16b7d936c9
13 changed files with 286 additions and 11 deletions
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=15 format=4 uid="uid://5klhna6pdpss"]
|
||||
[gd_scene load_steps=24 format=4 uid="uid://5klhna6pdpss"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/GameManager.cs" id="1_uhxhn"]
|
||||
[ext_resource type="PackedScene" uid="uid://bghghp5ep4w2j" path="res://Scenes/player.tscn" id="2_afebu"]
|
||||
|
|
@ -13,12 +13,24 @@
|
|||
[ext_resource type="Script" path="res://Scenes/CameraTarget.gd" id="10_86lpq"]
|
||||
[ext_resource type="Script" path="res://Scripts/AlarmManager.cs" id="11_njjjf"]
|
||||
[ext_resource type="PackedScene" uid="uid://bqjcwxene73l2" path="res://Scenes/Actors/ActorEnemyTest.tscn" id="12_8mkvw"]
|
||||
[ext_resource type="PackedScene" uid="uid://d1h48wgasakk4" path="res://Scenes/Interactable/alarm_box.tscn" id="14_pr50u"]
|
||||
[ext_resource type="PackedScene" uid="uid://dnbtou2fklyvp" path="res://Scenes/Actors/alarm_sign.tscn" id="15_a8c3x"]
|
||||
[ext_resource type="PackedScene" uid="uid://byms2dhliyux0" path="res://Scenes/Actors/teleporter.tscn" id="16_5qis2"]
|
||||
[ext_resource type="PackedScene" uid="uid://crph24e6e0v0q" path="res://Scenes/Interactable/Control_Pad.tscn" id="16_ijcqi"]
|
||||
[ext_resource type="Script" path="res://Scripts/Actors/AlarmTeleporterActorSpawner.cs" id="17_7pavy"]
|
||||
[ext_resource type="Script" path="res://Scripts/Activables/ScriptableBase.cs" id="17_wpn2u"]
|
||||
[ext_resource type="Script" path="res://Scripts/Resources/Events/AlarmEnableEvent.cs" id="18_q3u5g"]
|
||||
[ext_resource type="LabelSettings" uid="uid://buk3e7bbwmnv1" path="res://Resources/Styles/Hud_Text_Style.tres" id="19_1ywt4"]
|
||||
|
||||
[sub_resource type="Resource" id="Resource_6wo78"]
|
||||
script = ExtResource("4_7nc7l")
|
||||
EggIndex = 0
|
||||
StartingEquipment = []
|
||||
|
||||
[sub_resource type="Resource" id="Resource_0a8l3"]
|
||||
script = ExtResource("18_q3u5g")
|
||||
WaitForCompletion = true
|
||||
|
||||
[node name="GameScene" type="Node2D"]
|
||||
script = ExtResource("1_uhxhn")
|
||||
PlayerTemplate = ExtResource("2_afebu")
|
||||
|
|
@ -80,3 +92,66 @@ position = Vector2(111, 305)
|
|||
|
||||
[node name="AlarmManager" type="Node2D" parent="."]
|
||||
script = ExtResource("11_njjjf")
|
||||
|
||||
[node name="AlarmBox" parent="." instance=ExtResource("14_pr50u")]
|
||||
position = Vector2(68, 243)
|
||||
|
||||
[node name="AlarmBox2" parent="." instance=ExtResource("15_a8c3x")]
|
||||
position = Vector2(68, 231)
|
||||
|
||||
[node name="Teleporter" parent="." instance=ExtResource("16_5qis2")]
|
||||
position = Vector2(151, 311)
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Spawner" type="Node2D" parent="Teleporter" node_paths=PackedStringArray("Teleporter")]
|
||||
script = ExtResource("17_7pavy")
|
||||
Teleporter = NodePath("..")
|
||||
ActivationRange = 100.0
|
||||
ActorPrefab = ExtResource("8_vi7eu")
|
||||
|
||||
[node name="Teleporter2" parent="." instance=ExtResource("16_5qis2")]
|
||||
position = Vector2(-59, 279)
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Spawner" type="Node2D" parent="Teleporter2" node_paths=PackedStringArray("Teleporter")]
|
||||
script = ExtResource("17_7pavy")
|
||||
Teleporter = NodePath("..")
|
||||
ActivationRange = 100.0
|
||||
ActorPrefab = ExtResource("8_vi7eu")
|
||||
|
||||
[node name="Teleporter3" parent="." instance=ExtResource("16_5qis2")]
|
||||
position = Vector2(72, 391)
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="Spawner" type="Node2D" parent="Teleporter3" node_paths=PackedStringArray("Teleporter")]
|
||||
script = ExtResource("17_7pavy")
|
||||
Teleporter = NodePath("..")
|
||||
ActivationRange = 100.0
|
||||
ActorPrefab = ExtResource("8_vi7eu")
|
||||
|
||||
[node name="ControlPad" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("16_ijcqi")]
|
||||
position = Vector2(97, 244)
|
||||
Target = NodePath("Script")
|
||||
|
||||
[node name="Script" type="Node2D" parent="ControlPad"]
|
||||
script = ExtResource("17_wpn2u")
|
||||
Events = Array[Object]([SubResource("Resource_0a8l3")])
|
||||
|
||||
[node name="Label" type="Label" parent="ControlPad"]
|
||||
offset_left = -7.0
|
||||
offset_top = -13.0
|
||||
offset_right = 42.0
|
||||
offset_bottom = -2.0
|
||||
text = "Activate Alarm"
|
||||
label_settings = ExtResource("19_1ywt4")
|
||||
|
||||
[node name="ControlPad2" parent="." node_paths=PackedStringArray("Target") instance=ExtResource("16_ijcqi")]
|
||||
position = Vector2(148, 244)
|
||||
Target = NodePath("../Teleporter/Spawner")
|
||||
|
||||
[node name="Label" type="Label" parent="ControlPad2"]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 23.0
|
||||
text = "Manual
|
||||
Spawn"
|
||||
label_settings = ExtResource("19_1ywt4")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue