mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-21 03:43:48 +00:00
Mapping
This commit is contained in:
parent
7c95e3c8fc
commit
ab4321df31
5 changed files with 65 additions and 23 deletions
|
|
@ -13,10 +13,11 @@ radius = 85.0529
|
|||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_3bqsq"]
|
||||
size = Vector2(8, 12)
|
||||
|
||||
[node name="Camera" type="CharacterBody2D" node_paths=PackedStringArray("_playerDetection")]
|
||||
[node name="Camera" type="CharacterBody2D" node_paths=PackedStringArray("AlarmActivationTargets", "_playerDetection")]
|
||||
collision_layer = 16
|
||||
collision_mask = 75
|
||||
script = ExtResource("1_2qb38")
|
||||
AlarmActivationTargets = []
|
||||
Health = 1.0
|
||||
WalkSpeed = 0.0
|
||||
CorpseTemplate = ExtResource("2_aysqd")
|
||||
|
|
@ -30,6 +31,7 @@ visible = false
|
|||
shape = SubResource("CircleShape2D_nkpag")
|
||||
|
||||
[node name="PlayerDetection" type="Area2D" parent="."]
|
||||
visible = false
|
||||
collision_layer = 16
|
||||
collision_mask = 2
|
||||
script = ExtResource("3_ax0x5")
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ script = ExtResource("8_fu65u")
|
|||
Root = NodePath("..")
|
||||
|
||||
[node name="DamageReceiver" type="Area2D" parent="." node_paths=PackedStringArray("HealthProvider")]
|
||||
collision_layer = 64
|
||||
collision_layer = 0
|
||||
collision_mask = 136
|
||||
script = ExtResource("10_l7aey")
|
||||
HealthProvider = NodePath("Health")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue