-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathZombie.tscn
More file actions
35 lines (22 loc) · 771 Bytes
/
Zombie.tscn
File metadata and controls
35 lines (22 loc) · 771 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[gd_scene load_steps=4 format=2]
[ext_resource path="res://Zombie.gd" type="Script" id=1]
[ext_resource path="res://zombie.png" type="Texture" id=2]
[sub_resource type="CircleShape2D" id=1]
custom_solver_bias = 0.0
radius = 30.0
[node name="Zombie" type="KinematicBody2D"]
input_pickable = false
collision_layer = 1
collision_mask = 1
collision/safe_margin = 0.08
script = ExtResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="." index="0"]
shape = SubResource( 1 )
[node name="Sprite" type="Sprite" parent="." index="1"]
position = Vector2( 12.7109, 2.38329 )
texture = ExtResource( 2 )
[node name="RayCast2D" type="RayCast2D" parent="." index="2"]
enabled = true
exclude_parent = true
cast_to = Vector2( 50, 0 )
collision_mask = 1