tiny_swords/Factions/Knights/Troops/base_character.tscn

21 lines
747 B
Plaintext

[gd_scene load_steps=2 format=3 uid="uid://dfbpq23nrtd23"]
[ext_resource type="Script" uid="uid://cbuavletjs0kl" path="res://Factions/Knights/Troops/base_character.gd" id="1_jdal0"]
[node name="BaseCharacter" type="CharacterBody2D" node_paths=PackedStringArray("_animation", "_sprite2d")]
collision_layer = 9
collision_mask = 9
script = ExtResource("1_jdal0")
_animation = NodePath("Animation")
_sprite2d = NodePath("Texture")
[node name="Texture" type="Sprite2D" parent="."]
[node name="Collision" type="CollisionShape2D" parent="."]
[node name="Animation" type="AnimationPlayer" parent="."]
[node name="Camera2D" type="Camera2D" parent="."]
[connection signal="animation_finished" from="Animation" to="." method="_on_animation_finished"]