➕ADD: Personajes y enemigo de testeo
This commit is contained in:
1 parent
3d356166ca
commit
1b797a3e90
21 files changed
+696
-340
No files matched your search
@@ -0,0 +1,42 @@
|
||||
[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
|
||||
Reference in new issue
Block a user