mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
63 lines
2.0 KiB
Plaintext
63 lines
2.0 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://examples/07-slot-node/slot-node.gd" type="Script" id=1]
|
|
[ext_resource path="res://assets/spineboy/spineboy-data-res.tres" type="SpineSkeletonDataResource" id=2]
|
|
[ext_resource path="res://assets/raptor/raptor-data.tres" type="SpineSkeletonDataResource" id=3]
|
|
[ext_resource path="res://icon.png" type="Texture" id=4]
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Spineboy" type="SpineSprite" parent="."]
|
|
position = Vector2( 474, 506 )
|
|
scale = Vector2( 0.560712, 0.560712 )
|
|
skeleton_data_res = ExtResource( 2 )
|
|
preview_skin = "Default"
|
|
preview_animation = "-- Empty --"
|
|
preview_frame = false
|
|
preview_time = 0.0
|
|
|
|
[node name="GunSlot" type="SpineSlotNode" parent="Spineboy"]
|
|
show_behind_parent = true
|
|
position = Vector2( 40.8753, -276.036 )
|
|
rotation = 0.837234
|
|
scale = Vector2( 1, 1 )
|
|
slot_name = "gun"
|
|
|
|
[node name="Raptor" type="SpineSprite" parent="Spineboy/GunSlot"]
|
|
position = Vector2( 84.6909, -67.9174 )
|
|
scale = Vector2( 0.193472, 0.193472 )
|
|
skeleton_data_res = ExtResource( 3 )
|
|
preview_skin = "Default"
|
|
preview_animation = "-- Empty --"
|
|
preview_frame = false
|
|
preview_time = 0.0
|
|
|
|
[node name="EyeSlot" type="SpineSlotNode" parent="Spineboy"]
|
|
show_behind_parent = true
|
|
position = Vector2( -23.4598, -402.301 )
|
|
rotation = -1.71793
|
|
scale = Vector2( 1, 1 )
|
|
slot_name = "eye"
|
|
|
|
[node name="Sprite" type="Sprite" parent="Spineboy/EyeSlot"]
|
|
position = Vector2( 84.4734, 43.4469 )
|
|
rotation = 1.66344
|
|
texture = ExtResource( 4 )
|
|
|
|
[node name="FrontFistSlot" type="SpineSlotNode" parent="Spineboy"]
|
|
show_behind_parent = true
|
|
position = Vector2( -29.0298, -241.577 )
|
|
rotation = 0.995187
|
|
scale = Vector2( 1, 1 )
|
|
slot_name = "front-fist"
|
|
|
|
[node name="TinySpineboy" type="SpineSprite" parent="Spineboy/FrontFistSlot"]
|
|
position = Vector2( -2.64624, -10.8111 )
|
|
scale = Vector2( 0.193389, 0.193389 )
|
|
skeleton_data_res = ExtResource( 2 )
|
|
preview_skin = "Default"
|
|
preview_animation = "-- Empty --"
|
|
preview_frame = false
|
|
preview_time = 0.0
|