Added state component

This commit is contained in:
2024-02-15 13:45:17 +01:00
parent 17a507d07c
commit 37ed8890ec
19 changed files with 172 additions and 86 deletions

View File

@ -0,0 +1,6 @@
extends SkillInstance
func _ready():
animation.play("human/roll")
await get_tree().create_timer(1.0).timeout
end()

View File

@ -0,0 +1,11 @@
[gd_resource type="Resource" script_class="Skill" load_steps=3 format=3 uid="uid://cnusbw23jf672"]
[ext_resource type="PackedScene" uid="uid://1u5qbxotvgo4" path="res://skill/dash/dash.tscn" id="1_0n3i4"]
[ext_resource type="Script" path="res://skill/Skill.gd" id="2_2m415"]
[resource]
script = ExtResource("2_2m415")
id = "dash"
name = "Dash"
cooldown = 0.0
scene = ExtResource("1_0n3i4")

View File

@ -0,0 +1,6 @@
[gd_scene load_steps=2 format=3 uid="uid://1u5qbxotvgo4"]
[ext_resource type="Script" path="res://skill/dash/dash.gd" id="1_rxa7a"]
[node name="Dash" type="Node"]
script = ExtResource("1_rxa7a")