giants-godot/characters/reaper/reaper.tscn
2021-09-08 18:36:41 +02:00

36 lines
1.1 KiB
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://characters/reaper/reaper.glb" type="PackedScene" id=1]
[ext_resource path="res://characters/reaper/animations/run_anim.tres" type="Animation" id=2]
[ext_resource path="res://characters/reaper/animations/idle.tres" type="Animation" id=3]
[sub_resource type="GDScript" id=1]
script/source = "extends Spatial
# Declare member variables here. Examples:
# var a = 2
# var b = \"text\"
# Called when the node enters the scene tree for the first time.
func _ready():
$CurrentAnimation.play(\"idle\")
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
"
[node name="reaper" instance=ExtResource( 1 )]
script = SubResource( 1 )
[node name="Armature" parent="." index="0"]
transform = Transform( -0.002, -6.51683e-10, 1.06173e-16, 0, -3.25841e-10, -0.002, 6.51683e-10, -0.002, 3.25841e-10, 0, 0, 0 )
[node name="CurrentAnimation" type="AnimationPlayer" parent="." index="2"]
anims/idle = ExtResource( 3 )
anims/run_anim = ExtResource( 2 )