mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
* Add a new example level '10-physics' and assets of celestial-circus * Fixed typos and grammatical errors in comments * Add a new example scene to example-v4 * Add a new example scene to example-v4-charp * Add a new example scene to example
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://re2mg31p3vln"]
|
|
|
|
[ext_resource type="Script" path="res://examples/12-physics/physics.gd" id="1_7guqn"]
|
|
[ext_resource type="SpineSkeletonDataResource" uid="uid://d1ordmjpe5kt7" path="res://assets/celestial-circus/celestial-circus-data.tres" id="2_t2blj"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_do8w3"]
|
|
size = Vector2(270, 573)
|
|
|
|
[node name="Node2D" type="Node2D"]
|
|
script = ExtResource("1_7guqn")
|
|
|
|
[node name="celestial-circus" type="SpineSprite" parent="."]
|
|
position = Vector2(600, 485)
|
|
scale = Vector2(0.25, 0.25)
|
|
skeleton_data_res = ExtResource("2_t2blj")
|
|
preview_skin = "Default"
|
|
preview_animation = "-- Empty --"
|
|
preview_frame = false
|
|
preview_time = 0.0
|
|
|
|
[node name="Area2D" type="Area2D" parent="celestial-circus"]
|
|
show_behind_parent = true
|
|
scale = Vector2(4, 4)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="celestial-circus/Area2D"]
|
|
show_behind_parent = true
|
|
position = Vector2(0, -158.5)
|
|
shape = SubResource("RectangleShape2D_do8w3")
|
|
|
|
[connection signal="mouse_entered" from="celestial-circus/Area2D" to="." method="_on_area_2d_mouse_entered"]
|
|
[connection signal="mouse_exited" from="celestial-circus/Area2D" to="." method="_on_area_2d_mouse_exited"]
|