mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-17 07:03:47 +00:00
FSM Player movement
This commit is contained in:
parent
7d9db8cfb6
commit
c59a480ffd
10 changed files with 131 additions and 36 deletions
19
Scenes/Actors/fsm_enemy.tscn
Normal file
19
Scenes/Actors/fsm_enemy.tscn
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
[gd_scene load_steps=4 format=3 uid="uid://bwwuqfhsbxg88"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://v2f387aad33k" path="res://Scripts/Components/FSM/ActorStateMachine.cs" id="1_3eiqy"]
|
||||
[ext_resource type="SpriteFrames" uid="uid://bcc5mlwwnkvri" path="res://Resources/Sprites/Fairy.tres" id="2_d4q8l"]
|
||||
|
||||
[sub_resource type="CircleShape2D" id="CircleShape2D_5xgmc"]
|
||||
|
||||
[node name="FSMEnemy" type="CharacterBody2D"]
|
||||
script = ExtResource("1_3eiqy")
|
||||
metadata/_edit_group_ = true
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
shape = SubResource("CircleShape2D_5xgmc")
|
||||
|
||||
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
|
||||
sprite_frames = ExtResource("2_d4q8l")
|
||||
animation = &"down"
|
||||
|
||||
[node name="Idle" type="Node2D" parent="."]
|
||||
Loading…
Add table
Add a link
Reference in a new issue