2023-02-20 19:51:26 +00:00
|
|
|
[gd_scene load_steps=14 format=2]
|
2022-02-28 16:59:30 +00:00
|
|
|
|
|
|
|
[ext_resource path="res://assets/graphics/misc/horizontal_mirror_off.png" type="Texture" id=1]
|
|
|
|
[ext_resource path="res://assets/graphics/misc/vertical_mirror_off.png" type="Texture" id=2]
|
2023-01-05 15:54:22 +00:00
|
|
|
[ext_resource path="res://src/UI/GlobalToolOptions/GlobalToolOptions.gd" type="Script" id=3]
|
2022-02-28 17:24:14 +00:00
|
|
|
[ext_resource path="res://assets/graphics/misc/pixel_perfect_off.png" type="Texture" id=4]
|
2023-02-17 13:29:55 +00:00
|
|
|
[ext_resource path="res://src/UI/Nodes/ValueSlider.gd" type="Script" id=5]
|
2023-02-20 19:51:26 +00:00
|
|
|
[ext_resource path="res://assets/graphics/misc/dynamics.png" type="Texture" id=6]
|
|
|
|
[ext_resource path="res://assets/graphics/misc/uncheck.png" type="Texture" id=7]
|
|
|
|
[ext_resource path="res://src/UI/Nodes/MaxMinEdit.tscn" type="PackedScene" id=8]
|
2023-02-17 13:29:55 +00:00
|
|
|
|
|
|
|
[sub_resource type="ButtonGroup" id=1]
|
|
|
|
|
|
|
|
[sub_resource type="ButtonGroup" id=2]
|
2022-02-28 16:59:30 +00:00
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[sub_resource type="Gradient" id=3]
|
|
|
|
interpolation_mode = 1
|
|
|
|
offsets = PoolRealArray( 0, 0, 1 )
|
|
|
|
colors = PoolColorArray( 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1 )
|
|
|
|
|
|
|
|
[sub_resource type="GradientTexture" id=4]
|
|
|
|
gradient = SubResource( 3 )
|
|
|
|
|
|
|
|
[sub_resource type="GradientTexture" id=5]
|
|
|
|
gradient = SubResource( 3 )
|
|
|
|
|
2022-02-28 16:59:30 +00:00
|
|
|
[node name="Global Tool Options" type="PanelContainer"]
|
2022-03-01 00:16:53 +00:00
|
|
|
margin_left = 1.0
|
|
|
|
margin_right = 195.0
|
|
|
|
margin_bottom = 50.0
|
2022-02-28 16:59:30 +00:00
|
|
|
rect_min_size = Vector2( 0, 36 )
|
|
|
|
script = ExtResource( 3 )
|
|
|
|
|
|
|
|
[node name="ScrollContainer" type="ScrollContainer" parent="."]
|
|
|
|
margin_left = 7.0
|
|
|
|
margin_top = 7.0
|
2022-03-01 00:16:53 +00:00
|
|
|
margin_right = 187.0
|
|
|
|
margin_bottom = 43.0
|
|
|
|
rect_min_size = Vector2( 36, 36 )
|
2022-02-28 16:59:30 +00:00
|
|
|
|
2022-03-01 00:16:53 +00:00
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="ScrollContainer"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_right = 180.0
|
|
|
|
margin_bottom = 36.0
|
2022-03-01 00:16:53 +00:00
|
|
|
size_flags_horizontal = 3
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="ScrollContainer/CenterContainer"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_left = 20.0
|
|
|
|
margin_top = 2.0
|
|
|
|
margin_right = 160.0
|
|
|
|
margin_bottom = 34.0
|
2022-03-01 00:16:53 +00:00
|
|
|
size_flags_vertical = 0
|
2023-02-17 13:29:55 +00:00
|
|
|
columns = 4
|
2022-02-28 16:59:30 +00:00
|
|
|
|
2022-03-01 00:16:53 +00:00
|
|
|
[node name="Horizontal" type="Button" parent="ScrollContainer/CenterContainer/GridContainer" groups=["UIButtons"]]
|
2022-02-28 16:59:30 +00:00
|
|
|
margin_right = 32.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
rect_min_size = Vector2( 32, 32 )
|
|
|
|
hint_tooltip = "Enable horizontal mirrored drawing"
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
toggle_mode = true
|
|
|
|
|
2022-03-01 00:16:53 +00:00
|
|
|
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/CenterContainer/GridContainer/Horizontal"]
|
2022-02-28 16:59:30 +00:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
2022-04-01 10:45:24 +00:00
|
|
|
margin_left = -10.0
|
|
|
|
margin_top = -10.5
|
|
|
|
margin_right = 10.0
|
|
|
|
margin_bottom = 10.5
|
2022-02-28 16:59:30 +00:00
|
|
|
texture = ExtResource( 1 )
|
|
|
|
|
2022-03-01 00:16:53 +00:00
|
|
|
[node name="Vertical" type="Button" parent="ScrollContainer/CenterContainer/GridContainer" groups=["UIButtons"]]
|
2022-02-28 16:59:30 +00:00
|
|
|
margin_left = 36.0
|
|
|
|
margin_right = 68.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
rect_min_size = Vector2( 32, 32 )
|
|
|
|
hint_tooltip = "Enable vertical mirrored drawing"
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
toggle_mode = true
|
|
|
|
|
2022-03-01 00:16:53 +00:00
|
|
|
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/CenterContainer/GridContainer/Vertical"]
|
2022-02-28 16:59:30 +00:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
2022-04-01 10:45:24 +00:00
|
|
|
margin_left = -10.0
|
|
|
|
margin_top = -10.0
|
|
|
|
margin_right = 10.0
|
|
|
|
margin_bottom = 10.0
|
2022-02-28 16:59:30 +00:00
|
|
|
texture = ExtResource( 2 )
|
|
|
|
|
2022-03-01 00:16:53 +00:00
|
|
|
[node name="PixelPerfect" type="Button" parent="ScrollContainer/CenterContainer/GridContainer" groups=["UIButtons"]]
|
2022-02-28 17:24:14 +00:00
|
|
|
margin_left = 72.0
|
|
|
|
margin_right = 104.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
rect_min_size = Vector2( 32, 32 )
|
|
|
|
hint_tooltip = "Pixel Perfect
|
|
|
|
Makes lines smooth by removing the extra pixels on the edges"
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
toggle_mode = true
|
|
|
|
|
2022-03-01 00:16:53 +00:00
|
|
|
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/CenterContainer/GridContainer/PixelPerfect"]
|
2022-02-28 17:24:14 +00:00
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -11.0
|
2022-04-01 10:45:24 +00:00
|
|
|
margin_top = -10.0
|
2022-02-28 17:24:14 +00:00
|
|
|
margin_right = 11.0
|
2022-04-01 10:45:24 +00:00
|
|
|
margin_bottom = 10.0
|
2022-02-28 17:24:14 +00:00
|
|
|
texture = ExtResource( 4 )
|
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[node name="Dynamics" type="Button" parent="ScrollContainer/CenterContainer/GridContainer" groups=["UIButtons"]]
|
2023-02-17 13:29:55 +00:00
|
|
|
unique_name_in_owner = true
|
|
|
|
margin_left = 108.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_right = 140.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_bottom = 32.0
|
2023-02-20 19:51:26 +00:00
|
|
|
rect_min_size = Vector2( 32, 32 )
|
2023-03-09 13:22:29 +00:00
|
|
|
hint_tooltip = "Dynamics"
|
2023-02-17 13:29:55 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2023-02-20 19:51:26 +00:00
|
|
|
__meta__ = {
|
|
|
|
"_editor_description_": ""
|
|
|
|
}
|
|
|
|
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="ScrollContainer/CenterContainer/GridContainer/Dynamics"]
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
margin_left = -11.0
|
|
|
|
margin_top = -10.0
|
|
|
|
margin_right = 11.0
|
|
|
|
margin_bottom = 10.0
|
|
|
|
texture = ExtResource( 6 )
|
2023-02-17 13:29:55 +00:00
|
|
|
|
|
|
|
[node name="DynamicsPanel" type="PopupPanel" parent="."]
|
|
|
|
margin_left = 7.0
|
|
|
|
margin_top = 7.0
|
|
|
|
margin_right = 267.0
|
|
|
|
margin_bottom = 267.0
|
|
|
|
rect_min_size = Vector2( 260, 260 )
|
|
|
|
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="DynamicsPanel"]
|
|
|
|
margin_left = 4.0
|
|
|
|
margin_top = 4.0
|
|
|
|
margin_right = 256.0
|
|
|
|
margin_bottom = 256.0
|
|
|
|
|
|
|
|
[node name="DynamicsOptions" type="GridContainer" parent="DynamicsPanel/VBoxContainer"]
|
|
|
|
margin_right = 252.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 68.0
|
2023-02-17 13:29:55 +00:00
|
|
|
columns = 3
|
|
|
|
|
|
|
|
[node name="Control" type="Control" parent="DynamicsPanel/VBoxContainer/DynamicsOptions"]
|
|
|
|
margin_right = 82.0
|
|
|
|
margin_bottom = 20.0
|
|
|
|
rect_min_size = Vector2( 20, 20 )
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="PressureLabel" type="Label" parent="DynamicsPanel/VBoxContainer/DynamicsOptions"]
|
|
|
|
margin_left = 86.0
|
|
|
|
margin_top = 3.0
|
|
|
|
margin_right = 167.0
|
|
|
|
margin_bottom = 17.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Pressure"
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="VelocityLabel" type="Label" parent="DynamicsPanel/VBoxContainer/DynamicsOptions"]
|
|
|
|
margin_left = 171.0
|
|
|
|
margin_top = 3.0
|
|
|
|
margin_right = 252.0
|
|
|
|
margin_bottom = 17.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Velocity"
|
|
|
|
align = 1
|
|
|
|
|
|
|
|
[node name="AlphaLabel" type="Label" parent="DynamicsPanel/VBoxContainer/DynamicsOptions"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 27.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 82.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 41.0
|
2023-02-17 13:29:55 +00:00
|
|
|
text = "Alpha"
|
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[node name="AlphaPressureButton" type="Button" parent="DynamicsPanel/VBoxContainer/DynamicsOptions" groups=["UIButtons"]]
|
2023-02-17 13:29:55 +00:00
|
|
|
unique_name_in_owner = true
|
|
|
|
margin_left = 86.0
|
|
|
|
margin_top = 24.0
|
|
|
|
margin_right = 167.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 44.0
|
2023-02-17 13:29:55 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2023-02-20 19:51:26 +00:00
|
|
|
toggle_mode = true
|
2023-02-17 13:29:55 +00:00
|
|
|
group = SubResource( 1 )
|
2023-02-20 19:51:26 +00:00
|
|
|
icon_align = 1
|
|
|
|
expand_icon = true
|
2023-02-17 13:29:55 +00:00
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[node name="TextureRect" type="TextureRect" parent="DynamicsPanel/VBoxContainer/DynamicsOptions/AlphaPressureButton"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
texture = ExtResource( 7 )
|
|
|
|
expand = true
|
|
|
|
|
|
|
|
[node name="AlphaVelocityButton" type="Button" parent="DynamicsPanel/VBoxContainer/DynamicsOptions" groups=["UIButtons"]]
|
2023-02-17 13:29:55 +00:00
|
|
|
unique_name_in_owner = true
|
|
|
|
margin_left = 171.0
|
|
|
|
margin_top = 24.0
|
|
|
|
margin_right = 252.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 44.0
|
2023-02-17 13:29:55 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2023-02-20 19:51:26 +00:00
|
|
|
toggle_mode = true
|
2023-02-17 13:29:55 +00:00
|
|
|
group = SubResource( 1 )
|
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[node name="TextureRect" type="TextureRect" parent="DynamicsPanel/VBoxContainer/DynamicsOptions/AlphaVelocityButton"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
texture = ExtResource( 7 )
|
|
|
|
expand = true
|
|
|
|
|
2023-02-17 13:29:55 +00:00
|
|
|
[node name="SizeLabel" type="Label" parent="DynamicsPanel/VBoxContainer/DynamicsOptions"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 51.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 82.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 65.0
|
2023-02-17 13:29:55 +00:00
|
|
|
text = "Size"
|
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[node name="SizePressureButton" type="Button" parent="DynamicsPanel/VBoxContainer/DynamicsOptions" groups=["UIButtons"]]
|
2023-02-17 13:29:55 +00:00
|
|
|
unique_name_in_owner = true
|
|
|
|
margin_left = 86.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 48.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 167.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 68.0
|
2023-02-17 13:29:55 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2023-02-20 19:51:26 +00:00
|
|
|
toggle_mode = true
|
2023-02-17 13:29:55 +00:00
|
|
|
group = SubResource( 2 )
|
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[node name="TextureRect" type="TextureRect" parent="DynamicsPanel/VBoxContainer/DynamicsOptions/SizePressureButton"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
texture = ExtResource( 7 )
|
|
|
|
expand = true
|
|
|
|
|
|
|
|
[node name="SizeVelocityButton" type="Button" parent="DynamicsPanel/VBoxContainer/DynamicsOptions" groups=["UIButtons"]]
|
2023-02-17 13:29:55 +00:00
|
|
|
unique_name_in_owner = true
|
|
|
|
margin_left = 171.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 48.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 252.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 68.0
|
2023-02-17 13:29:55 +00:00
|
|
|
mouse_default_cursor_shape = 2
|
2023-02-20 19:51:26 +00:00
|
|
|
toggle_mode = true
|
2023-02-17 13:29:55 +00:00
|
|
|
group = SubResource( 2 )
|
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[node name="TextureRect" type="TextureRect" parent="DynamicsPanel/VBoxContainer/DynamicsOptions/SizeVelocityButton"]
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
texture = ExtResource( 7 )
|
|
|
|
expand = true
|
|
|
|
|
2023-02-17 13:29:55 +00:00
|
|
|
[node name="LimitsHeader" type="HBoxContainer" parent="DynamicsPanel/VBoxContainer"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 72.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 252.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 86.0
|
2023-02-17 13:29:55 +00:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="DynamicsPanel/VBoxContainer/LimitsHeader"]
|
|
|
|
margin_right = 76.0
|
|
|
|
margin_bottom = 14.0
|
|
|
|
theme_type_variation = "Header"
|
|
|
|
text = "Value limits"
|
|
|
|
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="DynamicsPanel/VBoxContainer/LimitsHeader"]
|
|
|
|
margin_left = 80.0
|
|
|
|
margin_right = 252.0
|
|
|
|
margin_bottom = 14.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="LimitContainer" type="GridContainer" parent="DynamicsPanel/VBoxContainer"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 90.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 252.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 122.0
|
2023-02-17 13:29:55 +00:00
|
|
|
columns = 3
|
|
|
|
|
|
|
|
[node name="AlphaLabel" type="Label" parent="DynamicsPanel/VBoxContainer/LimitContainer"]
|
|
|
|
margin_right = 82.0
|
|
|
|
margin_bottom = 14.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Alpha"
|
|
|
|
|
|
|
|
[node name="AlphaMin" type="TextureProgress" parent="DynamicsPanel/VBoxContainer/LimitContainer"]
|
|
|
|
margin_left = 86.0
|
|
|
|
margin_right = 167.0
|
|
|
|
margin_bottom = 14.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_type_variation = "ValueSlider"
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.01
|
|
|
|
value = 0.1
|
|
|
|
nine_patch_stretch = true
|
|
|
|
stretch_margin_left = 3
|
|
|
|
stretch_margin_top = 3
|
|
|
|
stretch_margin_right = 3
|
|
|
|
stretch_margin_bottom = 3
|
|
|
|
script = ExtResource( 5 )
|
2023-02-28 15:07:48 +00:00
|
|
|
prefix = "Start"
|
2023-02-17 13:29:55 +00:00
|
|
|
snap_step = 0.1
|
|
|
|
|
|
|
|
[node name="AlphaMax" type="TextureProgress" parent="DynamicsPanel/VBoxContainer/LimitContainer"]
|
|
|
|
margin_left = 171.0
|
|
|
|
margin_right = 252.0
|
|
|
|
margin_bottom = 14.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_type_variation = "ValueSlider"
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.01
|
|
|
|
value = 1.0
|
|
|
|
nine_patch_stretch = true
|
|
|
|
stretch_margin_left = 3
|
|
|
|
stretch_margin_top = 3
|
|
|
|
stretch_margin_right = 3
|
|
|
|
stretch_margin_bottom = 3
|
|
|
|
script = ExtResource( 5 )
|
2023-02-28 15:07:48 +00:00
|
|
|
prefix = "End"
|
2023-02-17 13:29:55 +00:00
|
|
|
snap_step = 0.1
|
|
|
|
|
|
|
|
[node name="SizeLabel" type="Label" parent="DynamicsPanel/VBoxContainer/LimitContainer"]
|
|
|
|
margin_top = 18.0
|
|
|
|
margin_right = 82.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
text = "Size"
|
|
|
|
|
|
|
|
[node name="SizeMin" type="TextureProgress" parent="DynamicsPanel/VBoxContainer/LimitContainer"]
|
|
|
|
margin_left = 86.0
|
|
|
|
margin_top = 18.0
|
|
|
|
margin_right = 167.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_type_variation = "ValueSlider"
|
|
|
|
max_value = 25.0
|
|
|
|
value = 1.0
|
|
|
|
allow_greater = true
|
|
|
|
nine_patch_stretch = true
|
|
|
|
stretch_margin_left = 3
|
|
|
|
stretch_margin_top = 3
|
|
|
|
stretch_margin_right = 3
|
|
|
|
stretch_margin_bottom = 3
|
|
|
|
script = ExtResource( 5 )
|
2023-02-28 15:07:48 +00:00
|
|
|
prefix = "Start"
|
2023-02-17 13:29:55 +00:00
|
|
|
|
|
|
|
[node name="SizeMax" type="TextureProgress" parent="DynamicsPanel/VBoxContainer/LimitContainer"]
|
|
|
|
margin_left = 171.0
|
|
|
|
margin_top = 18.0
|
|
|
|
margin_right = 252.0
|
|
|
|
margin_bottom = 32.0
|
|
|
|
mouse_default_cursor_shape = 2
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
theme_type_variation = "ValueSlider"
|
|
|
|
max_value = 25.0
|
|
|
|
value = 4.0
|
|
|
|
allow_greater = true
|
|
|
|
nine_patch_stretch = true
|
|
|
|
stretch_margin_left = 3
|
|
|
|
stretch_margin_top = 3
|
|
|
|
stretch_margin_right = 3
|
|
|
|
stretch_margin_bottom = 3
|
|
|
|
script = ExtResource( 5 )
|
2023-02-28 15:07:48 +00:00
|
|
|
prefix = "End"
|
2023-02-17 13:29:55 +00:00
|
|
|
|
|
|
|
[node name="ThresholdsHeader" type="HBoxContainer" parent="DynamicsPanel/VBoxContainer"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 126.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 252.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 140.0
|
2023-02-17 13:29:55 +00:00
|
|
|
|
|
|
|
[node name="Label" type="Label" parent="DynamicsPanel/VBoxContainer/ThresholdsHeader"]
|
|
|
|
margin_right = 70.0
|
|
|
|
margin_bottom = 14.0
|
|
|
|
theme_type_variation = "Header"
|
|
|
|
text = "Thresholds"
|
|
|
|
|
|
|
|
[node name="HSeparator" type="HSeparator" parent="DynamicsPanel/VBoxContainer/ThresholdsHeader"]
|
|
|
|
margin_left = 74.0
|
|
|
|
margin_right = 252.0
|
|
|
|
margin_bottom = 14.0
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
|
|
[node name="ThresholdContainer" type="GridContainer" parent="DynamicsPanel/VBoxContainer"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 144.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 252.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 208.0
|
|
|
|
columns = 2
|
2023-02-17 13:29:55 +00:00
|
|
|
|
|
|
|
[node name="ThresholdPressureLabel" type="Label" parent="DynamicsPanel/VBoxContainer/ThresholdContainer"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 8.0
|
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 22.0
|
2023-02-17 13:29:55 +00:00
|
|
|
text = "Pressure"
|
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[node name="ThresholdPressure" parent="DynamicsPanel/VBoxContainer/ThresholdContainer" instance=ExtResource( 8 )]
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 60.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 252.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 30.0
|
2023-02-17 13:29:55 +00:00
|
|
|
size_flags_horizontal = 3
|
2023-02-20 19:51:26 +00:00
|
|
|
start = 0.2
|
|
|
|
end = 0.8
|
|
|
|
|
|
|
|
[node name="TextureRect" parent="DynamicsPanel/VBoxContainer/ThresholdContainer/ThresholdPressure" index="0"]
|
|
|
|
margin_right = 192.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
texture = SubResource( 4 )
|
2023-02-17 13:29:55 +00:00
|
|
|
|
2023-02-28 15:07:48 +00:00
|
|
|
[node name="PressurePreview" type="ProgressBar" parent="DynamicsPanel/VBoxContainer/ThresholdContainer/ThresholdPressure/TextureRect" index="0"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
modulate = Color( 1, 1, 1, 0.294118 )
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.001
|
|
|
|
value = 0.497
|
|
|
|
percent_visible = false
|
|
|
|
|
2023-02-17 13:29:55 +00:00
|
|
|
[node name="ThresholdVelocityLabel" type="Label" parent="DynamicsPanel/VBoxContainer/ThresholdContainer"]
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_top = 42.0
|
|
|
|
margin_right = 56.0
|
|
|
|
margin_bottom = 56.0
|
2023-02-17 13:29:55 +00:00
|
|
|
text = "Velocity"
|
|
|
|
|
2023-02-20 19:51:26 +00:00
|
|
|
[node name="ThresholdVelocity" parent="DynamicsPanel/VBoxContainer/ThresholdContainer" instance=ExtResource( 8 )]
|
|
|
|
anchor_right = 0.0
|
|
|
|
anchor_bottom = 0.0
|
|
|
|
margin_left = 60.0
|
|
|
|
margin_top = 34.0
|
2023-02-17 13:29:55 +00:00
|
|
|
margin_right = 252.0
|
2023-02-20 19:51:26 +00:00
|
|
|
margin_bottom = 64.0
|
|
|
|
start = 0.2
|
|
|
|
end = 0.8
|
|
|
|
|
|
|
|
[node name="TextureRect" parent="DynamicsPanel/VBoxContainer/ThresholdContainer/ThresholdVelocity" index="0"]
|
|
|
|
margin_right = 192.0
|
|
|
|
margin_bottom = 30.0
|
|
|
|
texture = SubResource( 5 )
|
2023-02-17 13:29:55 +00:00
|
|
|
|
2023-02-28 15:07:48 +00:00
|
|
|
[node name="VelocityPreview" type="ProgressBar" parent="DynamicsPanel/VBoxContainer/ThresholdContainer/ThresholdVelocity/TextureRect" index="0"]
|
|
|
|
unique_name_in_owner = true
|
|
|
|
modulate = Color( 1, 1, 1, 0.294118 )
|
|
|
|
anchor_right = 1.0
|
|
|
|
anchor_bottom = 1.0
|
|
|
|
max_value = 1.0
|
|
|
|
step = 0.001
|
|
|
|
percent_visible = false
|
|
|
|
|
2022-02-28 16:59:30 +00:00
|
|
|
[connection signal="resized" from="." to="." method="_on_resized"]
|
2022-03-01 00:16:53 +00:00
|
|
|
[connection signal="toggled" from="ScrollContainer/CenterContainer/GridContainer/Horizontal" to="." method="_on_Horizontal_toggled"]
|
|
|
|
[connection signal="toggled" from="ScrollContainer/CenterContainer/GridContainer/Vertical" to="." method="_on_Vertical_toggled"]
|
|
|
|
[connection signal="toggled" from="ScrollContainer/CenterContainer/GridContainer/PixelPerfect" to="." method="_on_PixelPerfect_toggled"]
|
2023-02-17 13:29:55 +00:00
|
|
|
[connection signal="pressed" from="ScrollContainer/CenterContainer/GridContainer/Dynamics" to="." method="_on_Dynamics_pressed"]
|
|
|
|
[connection signal="value_changed" from="DynamicsPanel/VBoxContainer/LimitContainer/AlphaMin" to="." method="_on_AlphaMin_value_changed"]
|
|
|
|
[connection signal="value_changed" from="DynamicsPanel/VBoxContainer/LimitContainer/AlphaMax" to="." method="_on_AlphaMax_value_changed"]
|
|
|
|
[connection signal="value_changed" from="DynamicsPanel/VBoxContainer/LimitContainer/SizeMin" to="." method="_on_SizeMin_value_changed"]
|
|
|
|
[connection signal="value_changed" from="DynamicsPanel/VBoxContainer/LimitContainer/SizeMax" to="." method="_on_SizeMax_value_changed"]
|
2023-02-20 19:51:26 +00:00
|
|
|
[connection signal="updated" from="DynamicsPanel/VBoxContainer/ThresholdContainer/ThresholdPressure" to="." method="_on_ThresholdPressure_updated"]
|
|
|
|
[connection signal="updated" from="DynamicsPanel/VBoxContainer/ThresholdContainer/ThresholdVelocity" to="." method="_on_ThresholdVelocity_updated"]
|
|
|
|
|
|
|
|
[editable path="DynamicsPanel/VBoxContainer/ThresholdContainer/ThresholdPressure"]
|
|
|
|
[editable path="DynamicsPanel/VBoxContainer/ThresholdContainer/ThresholdVelocity"]
|