mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-01 07:59:48 +00:00
157 lines
5 KiB
Plaintext
157 lines
5 KiB
Plaintext
|
[gd_scene load_steps=3 format=2]
|
||
|
|
||
|
[ext_resource path="res://src/UI/Nodes/AnimatePanel.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://src/UI/Nodes/ValueSlider.tscn" type="PackedScene" id=2]
|
||
|
|
||
|
[node name="AnimatePanel" type="PanelContainer"]
|
||
|
margin_right = 360.0
|
||
|
margin_bottom = 226.0
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
||
|
margin_left = 7.0
|
||
|
margin_top = 7.0
|
||
|
margin_right = 353.0
|
||
|
margin_bottom = 219.0
|
||
|
|
||
|
[node name="TopOptions" type="HBoxContainer" parent="VBoxContainer"]
|
||
|
margin_right = 346.0
|
||
|
margin_bottom = 24.0
|
||
|
|
||
|
[node name="Label" type="Label" parent="VBoxContainer/TopOptions"]
|
||
|
margin_top = 5.0
|
||
|
margin_right = 143.0
|
||
|
margin_bottom = 19.0
|
||
|
theme_type_variation = "Header"
|
||
|
text = "Animatable Properties"
|
||
|
|
||
|
[node name="PreviewSlider" parent="VBoxContainer/TopOptions" instance=ExtResource( 2 )]
|
||
|
unique_name_in_owner = true
|
||
|
margin_left = 147.0
|
||
|
margin_right = 346.0
|
||
|
min_value = 1.0
|
||
|
max_value = 1.0
|
||
|
value = 1.0
|
||
|
prefix = "Preview Frame:"
|
||
|
|
||
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
||
|
margin_top = 28.0
|
||
|
margin_right = 346.0
|
||
|
margin_bottom = 212.0
|
||
|
size_flags_vertical = 3
|
||
|
|
||
|
[node name="PropertyList" type="ItemList" parent="VBoxContainer/HBoxContainer"]
|
||
|
unique_name_in_owner = true
|
||
|
margin_right = 100.0
|
||
|
margin_bottom = 184.0
|
||
|
rect_min_size = Vector2( 100, 0 )
|
||
|
|
||
|
[node name="Options" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
||
|
unique_name_in_owner = true
|
||
|
visible = false
|
||
|
margin_left = 104.0
|
||
|
margin_right = 346.0
|
||
|
margin_bottom = 194.0
|
||
|
size_flags_horizontal = 3
|
||
|
|
||
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/HBoxContainer/Options"]
|
||
|
margin_right = 40.0
|
||
|
margin_bottom = 40.0
|
||
|
|
||
|
[node name="Name" type="Label" parent="VBoxContainer/HBoxContainer/Options/HBoxContainer"]
|
||
|
unique_name_in_owner = true
|
||
|
margin_right = 242.0
|
||
|
margin_bottom = 14.0
|
||
|
theme_type_variation = "Header"
|
||
|
|
||
|
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/HBoxContainer/Options/HBoxContainer"]
|
||
|
margin_right = 40.0
|
||
|
margin_bottom = 4.0
|
||
|
size_flags_horizontal = 3
|
||
|
|
||
|
[node name="CanAnimate" type="CheckBox" parent="VBoxContainer/HBoxContainer/Options"]
|
||
|
unique_name_in_owner = true
|
||
|
margin_left = 108.0
|
||
|
margin_top = 18.0
|
||
|
margin_right = 242.0
|
||
|
margin_bottom = 58.0
|
||
|
size_flags_horizontal = 8
|
||
|
text = "Animate"
|
||
|
|
||
|
[node name="Values" type="GridContainer" parent="VBoxContainer/HBoxContainer/Options"]
|
||
|
margin_top = 62.0
|
||
|
margin_right = 242.0
|
||
|
margin_bottom = 162.0
|
||
|
columns = 2
|
||
|
|
||
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/Options/Values"]
|
||
|
margin_top = 5.0
|
||
|
margin_right = 80.0
|
||
|
margin_bottom = 19.0
|
||
|
text = "Initial Value:"
|
||
|
align = 2
|
||
|
|
||
|
[node name="Initial" parent="VBoxContainer/HBoxContainer/Options/Values" instance=ExtResource( 2 )]
|
||
|
unique_name_in_owner = true
|
||
|
margin_left = 84.0
|
||
|
margin_right = 242.0
|
||
|
editable = false
|
||
|
|
||
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer/Options/Values"]
|
||
|
margin_top = 33.0
|
||
|
margin_right = 80.0
|
||
|
margin_bottom = 47.0
|
||
|
text = "Final Value: "
|
||
|
align = 2
|
||
|
|
||
|
[node name="Final" parent="VBoxContainer/HBoxContainer/Options/Values" instance=ExtResource( 2 )]
|
||
|
unique_name_in_owner = true
|
||
|
margin_left = 84.0
|
||
|
margin_top = 28.0
|
||
|
margin_right = 242.0
|
||
|
margin_bottom = 52.0
|
||
|
editable = false
|
||
|
|
||
|
[node name="Label4" type="Label" parent="VBoxContainer/HBoxContainer/Options/Values"]
|
||
|
margin_top = 59.0
|
||
|
margin_right = 80.0
|
||
|
margin_bottom = 73.0
|
||
|
text = "Ease Type:"
|
||
|
align = 2
|
||
|
|
||
|
[node name="EaseType" type="OptionButton" parent="VBoxContainer/HBoxContainer/Options/Values"]
|
||
|
unique_name_in_owner = true
|
||
|
margin_left = 84.0
|
||
|
margin_top = 56.0
|
||
|
margin_right = 242.0
|
||
|
margin_bottom = 76.0
|
||
|
size_flags_vertical = 4
|
||
|
disabled = true
|
||
|
clip_text = true
|
||
|
|
||
|
[node name="Label5" type="Label" parent="VBoxContainer/HBoxContainer/Options/Values"]
|
||
|
margin_top = 83.0
|
||
|
margin_right = 80.0
|
||
|
margin_bottom = 97.0
|
||
|
text = "Interpolate :"
|
||
|
align = 2
|
||
|
|
||
|
[node name="TransitionType" type="OptionButton" parent="VBoxContainer/HBoxContainer/Options/Values"]
|
||
|
unique_name_in_owner = true
|
||
|
margin_left = 84.0
|
||
|
margin_top = 80.0
|
||
|
margin_right = 242.0
|
||
|
margin_bottom = 100.0
|
||
|
hint_tooltip = "How the value changes while moving from initial to final value"
|
||
|
size_flags_vertical = 4
|
||
|
disabled = true
|
||
|
clip_text = true
|
||
|
|
||
|
[connection signal="value_changed" from="VBoxContainer/TopOptions/PreviewSlider" to="." method="_on_PreviewSlider_value_changed"]
|
||
|
[connection signal="item_selected" from="VBoxContainer/HBoxContainer/PropertyList" to="." method="_on_PropertyList_item_selected"]
|
||
|
[connection signal="toggled" from="VBoxContainer/HBoxContainer/Options/CanAnimate" to="." method="_on_CanAnimate_toggled"]
|
||
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/Options/Values/Initial" to="." method="_on_Initial_value_changed"]
|
||
|
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/Options/Values/Final" to="." method="_on_Final_value_changed"]
|
||
|
[connection signal="item_selected" from="VBoxContainer/HBoxContainer/Options/Values/EaseType" to="." method="_on_EaseType_item_selected"]
|
||
|
[connection signal="item_selected" from="VBoxContainer/HBoxContainer/Options/Values/TransitionType" to="." method="_on_TransitionType_item_selected"]
|