-
Notifications
You must be signed in to change notification settings - Fork 0
/
NPC.tscn
31 lines (23 loc) · 1017 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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://characters/enemies/monster/AnimationPlayer.tscn" type="PackedScene" id=1]
[ext_resource path="res://characters/enemies/slime/irishdress.png" type="Texture" id=2]
[ext_resource path="res://environment/props/NPC.gd" type="Script" id=3]
[sub_resource type="RectangleShape2D" id=1]
extents = Vector2( 10, 0.443707 )
[node name="NPC" type="Node2D"]
[node name="AnimationPlayer" parent="." instance=ExtResource( 1 )]
[node name="Sprite" type="Sprite" parent="."]
position = Vector2( 118.131, -525.862 )
z_index = -1
texture = ExtResource( 2 )
hframes = 13
vframes = 22
frame = 13
region_rect = Rect2( 20, 10, 30, 50 )
script = ExtResource( 3 )
[node name="AlertTrigger" type="Area2D" parent="Sprite"]
position = Vector2( -9.48832, 53.5473 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="Sprite/AlertTrigger"]
shape = SubResource( 1 )
[node name="AlertBoxPosition" type="Position2D" parent="Sprite"]
position = Vector2( -99.6485, -41.0888 )