mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-24 18:51:25 +08:00
23 lines
766 B
Plaintext
23 lines
766 B
Plaintext
[gd_scene load_steps=4 format=2]
|
|
|
|
[ext_resource path="res://examples/07-slot-node/slot-node.gd" type="Script" id=1]
|
|
[ext_resource path="res://assets/spineboy/spinebody-data-res.tres" type="SpineSkeletonDataResource" id=2]
|
|
[ext_resource path="res://icon.png" type="Texture" id=3]
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="Spineboy" type="SpineSprite" parent="."]
|
|
position = Vector2( 506, 480 )
|
|
scale = Vector2( 0.560712, 0.560712 )
|
|
skeleton_data_res = ExtResource( 2 )
|
|
|
|
[node name="SpineSlotNode" type="SpineSlotNode" parent="Spineboy"]
|
|
position = Vector2( 40.8752, -276.036 )
|
|
rotation = 0.837234
|
|
scale = Vector2( 1, 1 )
|
|
slot_name = "gun"
|
|
|
|
[node name="Sprite" type="Sprite" parent="Spineboy/SpineSlotNode"]
|
|
texture = ExtResource( 3 )
|