mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-20 00:36:43 +08:00
35 lines
1.3 KiB
Plaintext
35 lines
1.3 KiB
Plaintext
[gd_scene load_steps=7 format=2]
|
|
|
|
[ext_resource path="res://examples/helloworld/spineboy-helloworld.gd" type="Script" id=1]
|
|
[ext_resource path="res://examples/mix-and-match/mix-and-match.gd" type="Script" id=2]
|
|
[ext_resource path="res://assets/spineboy/spinebody-data-res.tres" type="SpineSkeletonDataResource" id=3]
|
|
[ext_resource path="res://assets/mix-and-match/mix-and-match-data.tres" type="SpineSkeletonDataResource" id=4]
|
|
[ext_resource path="res://assets/raptor/raprot-data.tres" type="SpineSkeletonDataResource" id=5]
|
|
|
|
[sub_resource type="GDScript" id=1]
|
|
script/source = "extends SpineSprite
|
|
|
|
func _ready():
|
|
get_animation_state().set_animation(\"walk\", true)
|
|
"
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
|
|
[node name="Spineboy" type="SpineSprite" parent="."]
|
|
position = Vector2( 137.107, 540.132 )
|
|
scale = Vector2( 0.466832, 0.466832 )
|
|
skeleton_data_res = ExtResource( 3 )
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="MixAndMatch" type="SpineSprite" parent="."]
|
|
position = Vector2( 402.469, 534.677 )
|
|
scale = Vector2( 0.366163, 0.366163 )
|
|
skeleton_data_res = ExtResource( 4 )
|
|
script = ExtResource( 2 )
|
|
|
|
[node name="Raptor" type="SpineSprite" parent="."]
|
|
position = Vector2( 793.667, 527.026 )
|
|
scale = Vector2( 0.343143, 0.343143 )
|
|
skeleton_data_res = ExtResource( 5 )
|
|
script = SubResource( 1 )
|