Added Mirror and Rotation

This commit is contained in:
2025-07-22 06:21:17 +10:00
parent 95476cfd57
commit fc6fa30c85
6 changed files with 118 additions and 1 deletions

View File

@@ -14529,6 +14529,48 @@ layout_mode = 2
theme = SubResource("Theme_mrbyn")
text = "Affect children"
[node name="TransformSection" type="VBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 0
theme_override_constants/separation = 5
[node name="TransformTitle" type="Label" parent="VBoxContainer/TransformSection"]
custom_minimum_size = Vector2(0, 38.93)
layout_mode = 2
theme_override_colors/font_shadow_color = Color(0, 0, 0, 0.486275)
theme_override_constants/shadow_offset_x = 2
theme_override_constants/shadow_offset_y = 2
theme_override_constants/shadow_outline_size = 5
theme_override_fonts/font = ExtResource("2_da8lk")
theme_override_font_sizes/font_size = 21
text = "TRANSFORM"
label_settings = SubResource("LabelSettings_da8lk")
horizontal_alignment = 1
vertical_alignment = 2
[node name="rotationSlider" parent="VBoxContainer/TransformSection" instance=ExtResource("3_parameter_slider")]
layout_mode = 2
parameter_name = "staticRotation"
sprite_property = "staticRotation"
label_text = "Rotation"
min_value = -360.0
max_value = 360.0
value_suffix = "°"
[node name="MirrorControls" type="HBoxContainer" parent="VBoxContainer/TransformSection"]
layout_mode = 2
theme_override_constants/separation = 10
[node name="mirrorHorizontalCheck" type="CheckBox" parent="VBoxContainer/TransformSection/MirrorControls"]
layout_mode = 2
theme = SubResource("Theme_mrbyn")
text = "Mirror H"
[node name="mirrorVerticalCheck" type="CheckBox" parent="VBoxContainer/TransformSection/MirrorControls"]
layout_mode = 2
theme = SubResource("Theme_mrbyn")
text = "Mirror V"
[node name="AnimationSection" type="VBoxContainer" parent="VBoxContainer"]
layout_mode = 2
size_flags_vertical = 0
@@ -15072,7 +15114,11 @@ centered = false
[connection signal="pressed" from="VBoxContainer/Buttons/SpeakingWrapper/Speaking/speaking" to="." method="_on_speaking_pressed"]
[connection signal="pressed" from="VBoxContainer/Buttons/UnlinkWrapper/Unlink/unlink" to="." method="_on_unlink_pressed"]
[connection signal="pressed" from="VBoxContainer/Buttons/TrashWrapper/Trash/trash" to="." method="_on_trash_pressed"]
[connection signal="item_selected" from="VBoxContainer/RenderingSection/blendModeContainer/blendModeDropdown" to="." method="_on_blend_mode_dropdown_item_selected"]
[connection signal="toggled" from="VBoxContainer/RenderingSection/ClipLinked" to="." method="_on_clip_linked_toggled"]
[connection signal="toggled" from="VBoxContainer/RenderingSection/affectChildrenCheck" to="." method="_on_affect_children_check_toggled"]
[connection signal="toggled" from="VBoxContainer/TransformSection/MirrorControls/mirrorHorizontalCheck" to="." method="_on_mirror_horizontal_check_toggled"]
[connection signal="toggled" from="VBoxContainer/TransformSection/MirrorControls/mirrorVerticalCheck" to="." method="_on_mirror_vertical_check_toggled"]
[connection signal="toggled" from="VBoxContainer/PhysicsSection/BounceVelocity" to="." method="_on_check_box_toggled"]
[connection signal="pressed" from="VBoxContainer/LayersSection/HBoxContainer/Layer1Container/Layer1/layerButton1" to="." method="_on_layer_button_1_pressed"]
[connection signal="pressed" from="VBoxContainer/LayersSection/HBoxContainer/Layer2Container/Layer2/layerButton2" to="." method="_on_layer_button_2_pressed"]