32 lines
1 KiB
Text
32 lines
1 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://co11v3w8hbwgf"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/components/zombies/RuntimeZombieData.cs" id="1_qq3f1"]
|
|
[ext_resource type="Texture2D" uid="uid://bwwbkybryi6k0" path="res://assets/sprites/zombie.tres" id="2_4pdxh"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_hxyad"]
|
|
size = Vector2(24, 84)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_r4ug6"]
|
|
size = Vector2(20, 48)
|
|
|
|
[node name="Zombie" type="Node2D"]
|
|
script = ExtResource("1_qq3f1")
|
|
_maxHP = 100
|
|
|
|
[node name="Sprite" type="Sprite2D" parent="."]
|
|
position = Vector2(0, -44)
|
|
texture = ExtResource("2_4pdxh")
|
|
|
|
[node name="Hitbox" type="Area2D" parent="."]
|
|
collision_layer = 4
|
|
collision_mask = 0
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox"]
|
|
position = Vector2(2, -42)
|
|
shape = SubResource("RectangleShape2D_hxyad")
|
|
|
|
[node name="Eatbox" type="Area2D" parent="."]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="Eatbox"]
|
|
position = Vector2(-10, -24)
|
|
shape = SubResource("RectangleShape2D_r4ug6")
|