You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
832 B
24 lines
832 B
[gd_scene load_steps=5 format=3 uid="uid://dvx48q5ecyxjs"]
|
|
|
|
[ext_resource type="Script" path="res://nodes/npc/npc.gd" id="1_38jh5"]
|
|
[ext_resource type="Texture2D" uid="uid://bm258xfujps7e" path="res://nodes/npc/npc.png" id="1_hgsqd"]
|
|
[ext_resource type="Script" path="res://scripts/ia/fsm.gd" id="3_vhp64"]
|
|
|
|
[sub_resource type="CapsuleShape2D" id="CapsuleShape2D_f223n"]
|
|
radius = 1.0
|
|
height = 4.0
|
|
|
|
[node name="npc" type="CharacterBody2D"]
|
|
script = ExtResource("1_38jh5")
|
|
|
|
[node name="shape" type="CollisionShape2D" parent="."]
|
|
rotation = 1.5708
|
|
shape = SubResource("CapsuleShape2D_f223n")
|
|
|
|
[node name="sprite" type="Sprite2D" parent="."]
|
|
scale = Vector2(0.5, 0.5)
|
|
texture = ExtResource("1_hgsqd")
|
|
|
|
[node name="fsm" type="Node2D" parent="." node_paths=PackedStringArray("root")]
|
|
script = ExtResource("3_vhp64")
|
|
root = NodePath("..")
|
|
|