|
@@ -1,388 +1,450 @@
|
|
|
-[gd_scene load_steps=6 format=2]
|
|
|
+[gd_scene load_steps=8 format=3 uid="uid://dath4f6h4tbmk"]
|
|
|
|
|
|
-[ext_resource path="res://main.gd" type="Script" id=1]
|
|
|
-[ext_resource path="res://godot.png" type="Texture2D" id=2]
|
|
|
-[ext_resource path="res://noto_sans_ui_regular.ttf" type="FontData" id=3]
|
|
|
+[ext_resource type="Script" path="res://main.gd" id="1"]
|
|
|
+[ext_resource type="Texture2D" uid="uid://bqpyg61et07pf" path="res://godot.png" id="2_tapbf"]
|
|
|
|
|
|
-[sub_resource type="Font" id=1]
|
|
|
-font_data = ExtResource( 3 )
|
|
|
+[sub_resource type="Gradient" id="Gradient_npp8a"]
|
|
|
+offsets = PackedFloat32Array(0)
|
|
|
+colors = PackedColorArray(0, 0, 0, 1)
|
|
|
|
|
|
-[sub_resource type="Theme" id=2]
|
|
|
-default_font = SubResource( 1 )
|
|
|
+[sub_resource type="GradientTexture2D" id="GradientTexture2D_md057"]
|
|
|
+gradient = SubResource("Gradient_npp8a")
|
|
|
+width = 800
|
|
|
+height = 10
|
|
|
|
|
|
-[node name="Main" type="VBoxContainer"]
|
|
|
+[sub_resource type="Gradient" id="Gradient_vuuif"]
|
|
|
+offsets = PackedFloat32Array(0)
|
|
|
+colors = PackedColorArray(0, 1, 0, 1)
|
|
|
+
|
|
|
+[sub_resource type="GradientTexture2D" id="GradientTexture2D_35fte"]
|
|
|
+gradient = SubResource("Gradient_vuuif")
|
|
|
+width = 800
|
|
|
+height = 10
|
|
|
+
|
|
|
+[sub_resource type="Curve2D" id="Curve2D_7nae7"]
|
|
|
+_data = {
|
|
|
+"points": PackedVector2Array(-142, -129, 142, 129, 2, 2, 0, 0, 0, 0, 311, 5, 172, -42, -172, 42, 45, -130, 83, 25, -83, -25, -150, -7, -16, 28, 16, -28, -198, -75, 0, 0, 0, 0, -71, -132)
|
|
|
+}
|
|
|
+point_count = 6
|
|
|
+
|
|
|
+[node name="TweenDemo" type="CanvasLayer"]
|
|
|
+script = ExtResource("1")
|
|
|
+metadata/_edit_lock_ = true
|
|
|
+
|
|
|
+[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
|
+anchors_preset = 15
|
|
|
anchor_right = 1.0
|
|
|
anchor_bottom = 1.0
|
|
|
-theme = SubResource( 2 )
|
|
|
-alignment = 1
|
|
|
-script = ExtResource( 1 )
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
+grow_horizontal = 2
|
|
|
+grow_vertical = 2
|
|
|
|
|
|
-[node name="Tween" type="Tween" parent="."]
|
|
|
-repeat = true
|
|
|
-playback/repeat = true
|
|
|
-
|
|
|
-[node name="Top" type="VBoxContainer" parent="."]
|
|
|
-offset_left = 112.0
|
|
|
-offset_right = 912.0
|
|
|
-offset_bottom = 230.0
|
|
|
-rect_min_size = Vector2(800, 230)
|
|
|
-size_flags_horizontal = 6
|
|
|
-alignment = 2
|
|
|
-
|
|
|
-[node name="Area3D" type="Panel" parent="Top"]
|
|
|
-offset_top = 18.0
|
|
|
-offset_right = 800.0
|
|
|
-offset_bottom = 178.0
|
|
|
-rect_min_size = Vector2(800, 160)
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
+[node name="ColorRect" type="ColorRect" parent="VBoxContainer"]
|
|
|
+layout_mode = 2
|
|
|
+size_flags_vertical = 3
|
|
|
+color = Color(0.027451, 0, 0.168627, 1)
|
|
|
|
|
|
-[node name="RichTextLabel" type="RichTextLabel" parent="Top/Area3D"]
|
|
|
-anchor_left = 0.5
|
|
|
-anchor_top = 0.5
|
|
|
-anchor_right = 0.5
|
|
|
-anchor_bottom = 0.5
|
|
|
-offset_left = -120.0
|
|
|
-offset_top = -60.0
|
|
|
-offset_right = 120.0
|
|
|
-offset_bottom = 60.0
|
|
|
-size_flags_horizontal = 2
|
|
|
-size_flags_vertical = 2
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
+[node name="PanelContainer" type="PanelContainer" parent="VBoxContainer"]
|
|
|
+layout_mode = 2
|
|
|
|
|
|
-[node name="Sprite2D" type="Sprite2D" parent="Top/Area3D"]
|
|
|
-z_index = 1
|
|
|
-texture = ExtResource( 2 )
|
|
|
-
|
|
|
-[node name="Follow" type="Sprite2D" parent="Top/Area3D"]
|
|
|
-position = Vector2(0, 160)
|
|
|
-z_index = 1
|
|
|
-texture = ExtResource( 2 )
|
|
|
-
|
|
|
-[node name="Follow2" type="Sprite2D" parent="Top/Area3D"]
|
|
|
-position = Vector2(800, 0)
|
|
|
-z_index = 1
|
|
|
-texture = ExtResource( 2 )
|
|
|
-
|
|
|
-[node name="Timeline" type="HSlider" parent="Top"]
|
|
|
-offset_top = 182.0
|
|
|
-offset_right = 800.0
|
|
|
-offset_bottom = 230.0
|
|
|
-rect_min_size = Vector2(0, 48)
|
|
|
-size_flags_horizontal = 3
|
|
|
+[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/PanelContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer"]
|
|
|
+layout_mode = 2
|
|
|
+alignment = 1
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer3"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Loops"
|
|
|
+
|
|
|
+[node name="Loops" type="SpinBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer3"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+min_value = 1.0
|
|
|
value = 1.0
|
|
|
-ticks_on_borders = true
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
|
|
|
-[node name="Controls" type="HBoxContainer" parent="."]
|
|
|
-offset_top = 234.0
|
|
|
-offset_right = 1024.0
|
|
|
-offset_bottom = 804.0
|
|
|
-rect_min_size = Vector2(1000, 550)
|
|
|
-custom_constants/separation = 20
|
|
|
+[node name="Infinite" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer3"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+text = "Infinite?"
|
|
|
+
|
|
|
+[node name="Button" type="Button" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer3"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Start Animation"
|
|
|
+
|
|
|
+[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/PanelContainer/VBoxContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="HFlowContainer" type="HBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer"]
|
|
|
+layout_mode = 2
|
|
|
+theme_override_constants/separation = 16
|
|
|
alignment = 1
|
|
|
|
|
|
-[node name="Modes" type="VBoxContainer" parent="Controls"]
|
|
|
-offset_left = 37.0
|
|
|
-offset_right = 110.0
|
|
|
-offset_bottom = 383.0
|
|
|
-rect_min_size = Vector2(70, 0)
|
|
|
-size_flags_vertical = 0
|
|
|
-custom_constants/separation = 16
|
|
|
-
|
|
|
-[node name="ModesLabel" type="Label" parent="Controls/Modes"]
|
|
|
-offset_right = 73.0
|
|
|
-offset_bottom = 23.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-text = "Modes"
|
|
|
-align = 1
|
|
|
-
|
|
|
-[node name="Move" type="Button" parent="Controls/Modes"]
|
|
|
-offset_top = 39.0
|
|
|
-offset_right = 73.0
|
|
|
-offset_bottom = 68.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "move"
|
|
|
-
|
|
|
-[node name="Color" type="Button" parent="Controls/Modes"]
|
|
|
-offset_top = 84.0
|
|
|
-offset_right = 73.0
|
|
|
-offset_bottom = 113.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "color"
|
|
|
-
|
|
|
-[node name="Scale" type="Button" parent="Controls/Modes"]
|
|
|
-offset_top = 129.0
|
|
|
-offset_right = 73.0
|
|
|
-offset_bottom = 158.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "scale"
|
|
|
-
|
|
|
-[node name="Rotate" type="Button" parent="Controls/Modes"]
|
|
|
-offset_top = 174.0
|
|
|
-offset_right = 73.0
|
|
|
-offset_bottom = 203.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "rotate"
|
|
|
-
|
|
|
-[node name="Callback" type="Button" parent="Controls/Modes"]
|
|
|
-offset_top = 219.0
|
|
|
-offset_right = 73.0
|
|
|
-offset_bottom = 248.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "callback"
|
|
|
-
|
|
|
-[node name="Follow" type="Button" parent="Controls/Modes"]
|
|
|
-offset_top = 264.0
|
|
|
-offset_right = 73.0
|
|
|
-offset_bottom = 293.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "follow"
|
|
|
-
|
|
|
-[node name="Repeat" type="Button" parent="Controls/Modes"]
|
|
|
-offset_top = 309.0
|
|
|
-offset_right = 73.0
|
|
|
-offset_bottom = 338.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "repeat"
|
|
|
-
|
|
|
-[node name="Pause" type="Button" parent="Controls/Modes"]
|
|
|
-offset_top = 354.0
|
|
|
-offset_right = 73.0
|
|
|
-offset_bottom = 383.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "pause"
|
|
|
-
|
|
|
-[node name="Transitions" type="VBoxContainer" parent="Controls"]
|
|
|
-offset_left = 130.0
|
|
|
-offset_right = 215.0
|
|
|
-offset_bottom = 518.0
|
|
|
-rect_min_size = Vector2(70, 0)
|
|
|
-size_flags_vertical = 0
|
|
|
-custom_constants/separation = 16
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
+[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 1"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="MoveTo" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Move To"
|
|
|
+
|
|
|
+[node name="Ease1" type="OptionButton" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+item_count = 4
|
|
|
+selected = 0
|
|
|
+popup/item_0/text = "In"
|
|
|
+popup/item_0/id = 0
|
|
|
+popup/item_1/text = "Out"
|
|
|
+popup/item_1/id = 1
|
|
|
+popup/item_2/text = "In/Out"
|
|
|
+popup/item_2/id = 2
|
|
|
+popup/item_3/text = "Out/In"
|
|
|
+popup/item_3/id = 3
|
|
|
+
|
|
|
+[node name="Trans1" type="OptionButton" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+item_count = 11
|
|
|
+selected = 0
|
|
|
+popup/item_0/text = "Linear"
|
|
|
+popup/item_0/id = 2
|
|
|
+popup/item_1/text = "Sine"
|
|
|
+popup/item_1/id = 1
|
|
|
+popup/item_2/text = "Quint"
|
|
|
+popup/item_2/id = 2
|
|
|
+popup/item_3/text = "Quart"
|
|
|
+popup/item_3/id = 3
|
|
|
+popup/item_4/text = "Quad"
|
|
|
+popup/item_4/id = 4
|
|
|
+popup/item_5/text = "Expo"
|
|
|
+popup/item_5/id = 5
|
|
|
+popup/item_6/text = "Elastic"
|
|
|
+popup/item_6/id = 6
|
|
|
+popup/item_7/text = "Cubic"
|
|
|
+popup/item_7/id = 7
|
|
|
+popup/item_8/text = "Circ"
|
|
|
+popup/item_8/id = 8
|
|
|
+popup/item_9/text = "Bounce"
|
|
|
+popup/item_9/id = 9
|
|
|
+popup/item_10/text = "Back"
|
|
|
+popup/item_10/id = 10
|
|
|
+
|
|
|
+[node name="VBoxContainer2" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer2"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 2"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="ColorRed" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer2"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Color Red"
|
|
|
+
|
|
|
+[node name="VBoxContainer3" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer3"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 3"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="MoveRight" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer3"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Move Right"
|
|
|
+
|
|
|
+[node name="Roll" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer3"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Roll"
|
|
|
+
|
|
|
+[node name="Ease3" type="OptionButton" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer3"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+item_count = 4
|
|
|
+selected = 0
|
|
|
+popup/item_0/text = "In"
|
|
|
+popup/item_0/id = 0
|
|
|
+popup/item_1/text = "Out"
|
|
|
+popup/item_1/id = 1
|
|
|
+popup/item_2/text = "In/Out"
|
|
|
+popup/item_2/id = 2
|
|
|
+popup/item_3/text = "Out/In"
|
|
|
+popup/item_3/id = 3
|
|
|
+
|
|
|
+[node name="Trans3" type="OptionButton" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer3"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+item_count = 11
|
|
|
+selected = 10
|
|
|
+popup/item_0/text = "Linear"
|
|
|
+popup/item_0/id = 2
|
|
|
+popup/item_1/text = "Sine"
|
|
|
+popup/item_1/id = 1
|
|
|
+popup/item_2/text = "Quint"
|
|
|
+popup/item_2/id = 2
|
|
|
+popup/item_3/text = "Quart"
|
|
|
+popup/item_3/id = 3
|
|
|
+popup/item_4/text = "Quad"
|
|
|
+popup/item_4/id = 4
|
|
|
+popup/item_5/text = "Expo"
|
|
|
+popup/item_5/id = 5
|
|
|
+popup/item_6/text = "Elastic"
|
|
|
+popup/item_6/id = 6
|
|
|
+popup/item_7/text = "Cubic"
|
|
|
+popup/item_7/id = 7
|
|
|
+popup/item_8/text = "Circ"
|
|
|
+popup/item_8/id = 8
|
|
|
+popup/item_9/text = "Bounce"
|
|
|
+popup/item_9/id = 9
|
|
|
+popup/item_10/text = "Back"
|
|
|
+popup/item_10/id = 10
|
|
|
+
|
|
|
+[node name="VBoxContainer4" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer4"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 4"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="MoveLeft" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer4"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Move Left"
|
|
|
+
|
|
|
+[node name="Jump" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer4"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Jump"
|
|
|
+
|
|
|
+[node name="VBoxContainer5" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer5"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 5"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="Blink" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer5"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Blink"
|
|
|
+
|
|
|
+[node name="VBoxContainer6" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer6"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 6"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="Teleport" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer6"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Teleport"
|
|
|
+
|
|
|
+[node name="VBoxContainer10" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer10"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 7"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="Curve" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer10"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Curve"
|
|
|
+
|
|
|
+[node name="Ease7" type="OptionButton" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer10"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+item_count = 4
|
|
|
+selected = 1
|
|
|
+popup/item_0/text = "In"
|
|
|
+popup/item_0/id = 0
|
|
|
+popup/item_1/text = "Out"
|
|
|
+popup/item_1/id = 1
|
|
|
+popup/item_2/text = "In/Out"
|
|
|
+popup/item_2/id = 2
|
|
|
+popup/item_3/text = "Out/In"
|
|
|
+popup/item_3/id = 3
|
|
|
+
|
|
|
+[node name="Trans7" type="OptionButton" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer10"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+item_count = 11
|
|
|
+selected = 9
|
|
|
+popup/item_0/text = "Linear"
|
|
|
+popup/item_0/id = 2
|
|
|
+popup/item_1/text = "Sine"
|
|
|
+popup/item_1/id = 1
|
|
|
+popup/item_2/text = "Quint"
|
|
|
+popup/item_2/id = 2
|
|
|
+popup/item_3/text = "Quart"
|
|
|
+popup/item_3/id = 3
|
|
|
+popup/item_4/text = "Quad"
|
|
|
+popup/item_4/id = 4
|
|
|
+popup/item_5/text = "Expo"
|
|
|
+popup/item_5/id = 5
|
|
|
+popup/item_6/text = "Elastic"
|
|
|
+popup/item_6/id = 6
|
|
|
+popup/item_7/text = "Cubic"
|
|
|
+popup/item_7/id = 7
|
|
|
+popup/item_8/text = "Circ"
|
|
|
+popup/item_8/id = 8
|
|
|
+popup/item_9/text = "Bounce"
|
|
|
+popup/item_9/id = 9
|
|
|
+popup/item_10/text = "Back"
|
|
|
+popup/item_10/id = 10
|
|
|
+
|
|
|
+[node name="VBoxContainer9" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer9"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 8"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="Wait" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer9"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Wait"
|
|
|
+
|
|
|
+[node name="VBoxContainer7" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer7"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 9"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="Countdown" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer7"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Countdown"
|
|
|
+
|
|
|
+[node name="VBoxContainer8" type="VBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer8"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Step 10"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="Enlarge" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer8"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Enlarge"
|
|
|
+
|
|
|
+[node name="Vanish" type="CheckBox" parent="VBoxContainer/PanelContainer/VBoxContainer/HFlowContainer/VBoxContainer8"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+button_pressed = true
|
|
|
+text = "Vanish"
|
|
|
+
|
|
|
+[node name="HSeparator" type="HSeparator" parent="VBoxContainer/PanelContainer/VBoxContainer"]
|
|
|
+layout_mode = 2
|
|
|
+
|
|
|
+[node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer"]
|
|
|
+layout_mode = 2
|
|
|
+alignment = 1
|
|
|
|
|
|
-[node name="TransLabel" type="Label" parent="Controls/Transitions"]
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 23.0
|
|
|
-text = "Transitions"
|
|
|
-align = 1
|
|
|
-
|
|
|
-[node name="Linear" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 39.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 68.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "linear"
|
|
|
-
|
|
|
-[node name="Sine" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 84.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 113.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "sine"
|
|
|
-
|
|
|
-[node name="Quint" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 129.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 158.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "quint"
|
|
|
-
|
|
|
-[node name="Quart" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 174.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 203.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "quart"
|
|
|
-
|
|
|
-[node name="Quad" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 219.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 248.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "quad"
|
|
|
-
|
|
|
-[node name="Expo" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 264.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 293.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "expo"
|
|
|
-
|
|
|
-[node name="Elastic" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 309.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 338.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "elastic"
|
|
|
-
|
|
|
-[node name="Cubic" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 354.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 383.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "cubic"
|
|
|
-
|
|
|
-[node name="Circ" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 399.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 428.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "circ"
|
|
|
-
|
|
|
-[node name="Bounce" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 444.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 473.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "bounce"
|
|
|
-
|
|
|
-[node name="Back" type="Button" parent="Controls/Transitions"]
|
|
|
-offset_top = 489.0
|
|
|
-offset_right = 85.0
|
|
|
-offset_bottom = 518.0
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "back"
|
|
|
-
|
|
|
-[node name="Eases" type="VBoxContainer" parent="Controls"]
|
|
|
-offset_left = 235.0
|
|
|
-offset_right = 305.0
|
|
|
-offset_bottom = 203.0
|
|
|
-rect_min_size = Vector2(70, 0)
|
|
|
-size_flags_vertical = 0
|
|
|
-custom_constants/separation = 16
|
|
|
-
|
|
|
-[node name="EasesLabel" type="Label" parent="Controls/Eases"]
|
|
|
-offset_right = 70.0
|
|
|
-offset_bottom = 23.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-text = "Eases"
|
|
|
-align = 1
|
|
|
-
|
|
|
-[node name="In" type="Button" parent="Controls/Eases"]
|
|
|
-offset_top = 39.0
|
|
|
-offset_right = 70.0
|
|
|
-offset_bottom = 68.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "in"
|
|
|
-
|
|
|
-[node name="Out" type="Button" parent="Controls/Eases"]
|
|
|
-offset_top = 84.0
|
|
|
-offset_right = 70.0
|
|
|
-offset_bottom = 113.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "out"
|
|
|
-
|
|
|
-[node name="InOut" type="Button" parent="Controls/Eases"]
|
|
|
-offset_top = 129.0
|
|
|
-offset_right = 70.0
|
|
|
-offset_bottom = 158.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "in_out"
|
|
|
-
|
|
|
-[node name="OutIn" type="Button" parent="Controls/Eases"]
|
|
|
-offset_top = 174.0
|
|
|
-offset_right = 70.0
|
|
|
-offset_bottom = 203.0
|
|
|
-size_flags_horizontal = 3
|
|
|
-size_flags_vertical = 2
|
|
|
-toggle_mode = true
|
|
|
-text = "out_in"
|
|
|
-
|
|
|
-[node name="ColorFrom" type="VBoxContainer" parent="Controls"]
|
|
|
-offset_left = 325.0
|
|
|
-offset_right = 646.0
|
|
|
-offset_bottom = 570.0
|
|
|
-rect_min_size = Vector2(320, 570)
|
|
|
-size_flags_vertical = 0
|
|
|
-
|
|
|
-[node name="Label" type="Label" parent="Controls/ColorFrom"]
|
|
|
-offset_right = 89.0
|
|
|
-offset_bottom = 23.0
|
|
|
-size_flags_horizontal = 2
|
|
|
-size_flags_vertical = 0
|
|
|
-text = "Color From:"
|
|
|
-
|
|
|
-[node name="ColorPicker" type="ColorPicker" parent="Controls/ColorFrom"]
|
|
|
-offset_top = 27.0
|
|
|
-offset_right = 321.0
|
|
|
-offset_bottom = 539.0
|
|
|
-size_flags_horizontal = 2
|
|
|
-size_flags_vertical = 2
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
+[node name="Button2" type="Button" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer4"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Pause/Resume"
|
|
|
|
|
|
-[node name="ColorTo" type="VBoxContainer" parent="Controls"]
|
|
|
-offset_left = 666.0
|
|
|
-offset_right = 987.0
|
|
|
-offset_bottom = 570.0
|
|
|
-rect_min_size = Vector2(320, 570)
|
|
|
-rect_clip_content = true
|
|
|
-size_flags_vertical = 0
|
|
|
-
|
|
|
-[node name="Label" type="Label" parent="Controls/ColorTo"]
|
|
|
-offset_right = 68.0
|
|
|
-offset_bottom = 23.0
|
|
|
-size_flags_horizontal = 2
|
|
|
-size_flags_vertical = 0
|
|
|
-text = "Color To:"
|
|
|
-
|
|
|
-[node name="ColorPicker" type="ColorPicker" parent="Controls/ColorTo"]
|
|
|
-offset_top = 27.0
|
|
|
-offset_right = 321.0
|
|
|
-offset_bottom = 539.0
|
|
|
-size_flags_horizontal = 2
|
|
|
-size_flags_vertical = 2
|
|
|
-__meta__ = {
|
|
|
-"_edit_use_anchors_": false
|
|
|
-}
|
|
|
+[node name="Button3" type="Button" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer4"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Kill Tween"
|
|
|
|
|
|
-[connection signal="tween_step" from="Tween" to="." method="_on_Tween_tween_step"]
|
|
|
-[connection signal="value_changed" from="Top/Timeline" to="." method="_on_Timeline_value_changed"]
|
|
|
-[connection signal="color_changed" from="Controls/ColorFrom/ColorPicker" to="." method="_on_ColorPicker_color_changed"]
|
|
|
-[connection signal="color_changed" from="Controls/ColorTo/ColorPicker" to="." method="_on_ColorPicker_color_changed"]
|
|
|
+[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer/PanelContainer/VBoxContainer"]
|
|
|
+layout_mode = 2
|
|
|
+alignment = 1
|
|
|
+
|
|
|
+[node name="Label" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer2"]
|
|
|
+layout_mode = 2
|
|
|
+text = "Speed Scale"
|
|
|
+
|
|
|
+[node name="SpeedSlider" type="HSlider" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer2"]
|
|
|
+unique_name_in_owner = true
|
|
|
+custom_minimum_size = Vector2(600, 0)
|
|
|
+layout_mode = 2
|
|
|
+size_flags_vertical = 4
|
|
|
+max_value = 5.0
|
|
|
+step = 0.01
|
|
|
+value = 1.0
|
|
|
+
|
|
|
+[node name="SpeedLabel" type="Label" parent="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer2"]
|
|
|
+unique_name_in_owner = true
|
|
|
+custom_minimum_size = Vector2(50, 0)
|
|
|
+layout_mode = 2
|
|
|
+text = "1x"
|
|
|
+horizontal_alignment = 1
|
|
|
+
|
|
|
+[node name="Progress" type="TextureProgressBar" parent="VBoxContainer/PanelContainer/VBoxContainer"]
|
|
|
+unique_name_in_owner = true
|
|
|
+layout_mode = 2
|
|
|
+size_flags_horizontal = 4
|
|
|
+step = 0.001
|
|
|
+texture_under = SubResource("GradientTexture2D_md057")
|
|
|
+texture_progress = SubResource("GradientTexture2D_35fte")
|
|
|
+
|
|
|
+[node name="Node2D" type="Node2D" parent="."]
|
|
|
+
|
|
|
+[node name="Icon" type="Sprite2D" parent="Node2D"]
|
|
|
+unique_name_in_owner = true
|
|
|
+position = Vector2(99, 165)
|
|
|
+texture = ExtResource("2_tapbf")
|
|
|
+
|
|
|
+[node name="CountdownLabel" type="Label" parent="Node2D/Icon"]
|
|
|
+unique_name_in_owner = true
|
|
|
+visible = false
|
|
|
+anchors_preset = 15
|
|
|
+anchor_right = 1.0
|
|
|
+anchor_bottom = 1.0
|
|
|
+offset_left = -32.0
|
|
|
+offset_top = -32.0
|
|
|
+offset_right = -32.0
|
|
|
+offset_bottom = -32.0
|
|
|
+grow_horizontal = 2
|
|
|
+grow_vertical = 2
|
|
|
+theme_override_colors/font_color = Color(1, 1, 1, 1)
|
|
|
+theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
|
+theme_override_constants/outline_size = 16
|
|
|
+theme_override_font_sizes/font_size = 32
|
|
|
+text = "10
|
|
|
+"
|
|
|
+horizontal_alignment = 1
|
|
|
+vertical_alignment = 1
|
|
|
+
|
|
|
+[node name="Path2D" type="Path2D" parent="."]
|
|
|
+position = Vector2(473, 204)
|
|
|
+curve = SubResource("Curve2D_7nae7")
|
|
|
+
|
|
|
+[connection signal="toggled" from="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer3/Infinite" to="." method="inifnite_toggled"]
|
|
|
+[connection signal="pressed" from="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer3/Button" to="." method="start_animation"]
|
|
|
+[connection signal="pressed" from="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer4/Button2" to="." method="pause_resume"]
|
|
|
+[connection signal="pressed" from="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer4/Button3" to="." method="kill_tween"]
|
|
|
+[connection signal="value_changed" from="VBoxContainer/PanelContainer/VBoxContainer/HBoxContainer2/SpeedSlider" to="." method="speed_changed"]
|