-
Notifications
You must be signed in to change notification settings - Fork 0
/
NPC.tscn
33 lines (24 loc) · 807 Bytes
/
NPC.tscn
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=5 format=2]
[ext_resource path="res://NPC.gd" type="Script" id=1]
[sub_resource type="SpriteFrames" id=3]
animations = [ {
"frames": [ ],
"loop": true,
"name": "default",
"speed": 5.0
} ]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 8, 2 )
[sub_resource type="RectangleShape2D" id=2]
extents = Vector2( 8, 6 )
[node name="NPC" type="AnimatedSprite"]
frames = SubResource( 3 )
script = ExtResource( 1 )
[node name="StaticBody2D" type="StaticBody2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="StaticBody2D"]
position = Vector2( 0, 6 )
shape = SubResource( 1 )
[node name="Area2D" type="Area2D" parent="."]
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
position = Vector2( 0, 2 )
shape = SubResource( 2 )