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]
[ext_resource path="res://icon.png" type="Texture" id=2]
[sub_resource type="Animation" id=1]
resource_name = "New Anim"
length = 3.0
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath("Control:rect_position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/keys = {
"times": PoolRealArray( 0, 0.9, 2.2 ),
"transitions": PoolRealArray( 1, 1, 1 ),
"update": 0,
"values": [ Vector2( 730, 32 ), Vector2( 815.526, 473.886 ), Vector2( 203.097, 448.007 ) ]
}
tracks/1/type = "value"
tracks/1/path = NodePath("Control:rect_rotation")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/keys = {
"times": PoolRealArray( 0, 0.9, 2.2 ),
"transitions": PoolRealArray( 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="."]
margin_left = 9.0
margin_top = 129.0
margin_right = 409.0
margin_bottom = 162.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="."]
margin_left = 15.0
margin_top = 103.0
margin_right = 334.0
margin_bottom = 125.0
text = "Remote progress bar value"
[node name="Control" type="TextureRect" parent="."]
margin_left = 454.735
margin_top = 458.64
margin_right = 518.738
margin_bottom = 522.641
rect_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"]