mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-10 00:58:43 +08:00
[godot| Use skeleton data resource for mix-and-match
This commit is contained in:
parent
f684e7ce8f
commit
2ddf551a5e
10
spine-godot/example/mix-and-match/mix-and-match-data.tres
Normal file
10
spine-godot/example/mix-and-match/mix-and-match-data.tres
Normal file
@ -0,0 +1,10 @@
|
||||
[gd_resource type="SpineSkeletonDataResource" load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://mix-and-match/mix-and-match.atlas" type="SpineAtlasResource" id=1]
|
||||
[ext_resource path="res://mix-and-match/mix-and-match-pro.json" type="SpineSkeletonFileResource" id=2]
|
||||
|
||||
[resource]
|
||||
atlas_res = ExtResource( 1 )
|
||||
skeleton_file_res = ExtResource( 2 )
|
||||
animations = null
|
||||
skins = null
|
||||
@ -1,23 +1,16 @@
|
||||
[gd_scene load_steps=11 format=2]
|
||||
[gd_scene load_steps=9 format=2]
|
||||
|
||||
[ext_resource path="res://Spineboy.gd" type="Script" id=1]
|
||||
[ext_resource path="res://spineboy/spineboy-data.tres" type="SpineSkeletonDataResource" id=2]
|
||||
[ext_resource path="res://mix-and-match/mix-and-match-pro.json" type="SpineSkeletonFileResource" id=3]
|
||||
[ext_resource path="res://mix-and-match/mix-and-match.atlas" type="SpineAtlasResource" id=4]
|
||||
[ext_resource path="res://mix-and-match/mix-and-match-data.tres" type="SpineSkeletonDataResource" id=3]
|
||||
[ext_resource path="res://mix-and-match.gd" type="Script" id=5]
|
||||
[ext_resource path="res://raptor/raprot-data.tres" type="SpineSkeletonDataResource" id=6]
|
||||
|
||||
[sub_resource type="SpineAnimationStateDataResource" id=2]
|
||||
skeleton = ExtResource( 2 )
|
||||
|
||||
[sub_resource type="SpineSkeletonDataResource" id=4]
|
||||
atlas_res = ExtResource( 4 )
|
||||
skeleton_file_res = ExtResource( 3 )
|
||||
animations = null
|
||||
skins = null
|
||||
|
||||
[sub_resource type="SpineAnimationStateDataResource" id=3]
|
||||
skeleton = SubResource( 4 )
|
||||
skeleton = ExtResource( 3 )
|
||||
|
||||
[sub_resource type="SpineAnimationStateDataResource" id=5]
|
||||
skeleton = ExtResource( 6 )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user