43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
[gd_scene load_steps=4 format=3]
|
|
|
|
[ext_resource type="Script" path="res://enemies/walker/walker.gd" id="1_walker"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="BodyShape"]
|
|
size = Vector2(42, 78)
|
|
|
|
[sub_resource type="RectangleShape2D" id="ContactShape"]
|
|
size = Vector2(58, 88)
|
|
|
|
[node name="Walker" type="CharacterBody2D"]
|
|
collision_layer = 4
|
|
collision_mask = 1
|
|
script = ExtResource("1_walker")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
position = Vector2(0, 0)
|
|
shape = SubResource("BodyShape")
|
|
|
|
[node name="Hurtbox" type="Area2D" parent="."]
|
|
collision_layer = 16
|
|
collision_mask = 0
|
|
monitoring = false
|
|
monitorable = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hurtbox"]
|
|
shape = SubResource("BodyShape")
|
|
|
|
[node name="ContactHitbox" type="Area2D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 8
|
|
monitoring = true
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="ContactHitbox"]
|
|
shape = SubResource("ContactShape")
|
|
|
|
[node name="FloorProbe" type="RayCast2D" parent="."]
|
|
position = Vector2(24, 34)
|
|
target_position = Vector2(0, 34)
|
|
collision_mask = 1
|
|
enabled = true
|