RingOfRaces/modules/godot_remote/examples/custom_user_packets/Control.tscn

75 lines
1.8 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=4 format=2]
[ext_resource path="res://Control.gd" type="Script" id=1]
2023-03-25 20:42:54 +00:00
[ext_resource path="res://icon.png" type="Texture2D" id=2]
[sub_resource type="Animation" id=1]
resource_name = "New Anim"
length = 3.0
loop = true
tracks/0/type = "value"
2023-03-25 20:42:54 +00:00
tracks/0/path = NodePath("Control:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
2023-03-25 20:42:54 +00:00
"times": PackedFloat32Array( 0, 0.9, 2.2 ),
"transitions": PackedFloat32Array( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 730, 32 ), Vector2( 815.526, 473.886 ), Vector2( 203.097, 448.007 ) ]
}
tracks/1/type = "value"
2023-03-25 20:42:54 +00:00
tracks/1/path = NodePath("Control:rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
2023-03-25 20:42:54 +00:00
"times": PackedFloat32Array( 0, 0.9, 2.2 ),
"transitions": PackedFloat32Array( 1, 1, 1 ),
"update": 0,
"values": [ 0.0, 422.2, -251.5 ]
}
[node name="Control" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource( 1 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="HSlider" type="HSlider" parent="."]
2023-03-25 20:42:54 +00:00
offset_left = 9.0
offset_top = 129.0
offset_right = 409.0
offset_bottom = 162.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
2023-03-25 20:42:54 +00:00
offset_left = 15.0
offset_top = 103.0
offset_right = 334.0
offset_bottom = 125.0
text = "Remote progress bar value"
[node name="Control" type="TextureRect" parent="."]
2023-03-25 20:42:54 +00:00
offset_left = 454.735
offset_top = 458.64
offset_right = 518.738
offset_bottom = 522.641
rotation = 25.3133
texture = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "New Anim"
"anims/New Anim" = SubResource( 1 )
[connection signal="value_changed" from="HSlider" to="." method="_on_HSlider_value_changed"]