feat: initialize main scene, settings menu, and touch control manager

This commit is contained in:
Yogi Wiguna
2026-03-30 16:34:47 +08:00
parent 91dc34a7be
commit 3035a221ba
3 changed files with 31 additions and 31 deletions
+7 -7
View File
@@ -494,13 +494,13 @@ func _apply_settings():
if grab_button:
grab_button.visible = true
grab_button.vertical_icon_alignment = VERTICAL_ALIGNMENT_TOP
grab_button.scale = Vector2(button_scale, button_scale)
grab_button.set_anchors_preset(Control.PRESET_BOTTOM_RIGHT)
grab_button.offset_left = button_positions.grab.x
grab_button.offset_top = button_positions.grab.y
grab_button.offset_right = button_positions.grab.x + button_size
grab_button.offset_bottom = button_positions.grab.y + button_size
#grab_button.vertical_icon_alignment = VERTICAL_ALIGNMENT_TOP
#grab_button.scale = Vector2(button_scale, button_scale)
#grab_button.set_anchors_preset(Control.PRESET_BOTTOM_RIGHT)
#grab_button.offset_left = button_positions.grab.x
#grab_button.offset_top = button_positions.grab.y
#grab_button.offset_right = button_positions.grab.x + button_size
#grab_button.offset_bottom = button_positions.grab.y + button_size
if put_button:
put_button.visible = false