2026-08-13 15:24:23 -04:00
|
|
|
|
[gd_scene load_steps=11 format=3]
|
2026-08-02 00:45:07 -04:00
|
|
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://ui/surface_drawing_toolbar.gd" id="1_script"]
|
|
|
|
|
|
[ext_resource type="Theme" path="res://ui/game_theme.tres" id="2_theme"]
|
2026-08-08 00:34:06 -04:00
|
|
|
|
[ext_resource type="Texture2D" path="res://ui/icons/pictograms/undo_light.png" id="3_undo_light"]
|
2026-08-13 15:24:23 -04:00
|
|
|
|
[ext_resource type="Texture2D" path="res://items/icons/art/art_kit_eraser.png" id="4_art_kit_eraser"]
|
|
|
|
|
|
[ext_resource type="Texture2D" path="res://items/icons/art/art_kit_marker.png" id="5_art_kit_marker"]
|
|
|
|
|
|
[ext_resource type="Texture2D" path="res://items/icons/art/art_kit_grid_light.png" id="6_grid_light"]
|
|
|
|
|
|
[ext_resource type="Texture2D" path="res://items/icons/art/art_kit_grid_hidden_light.png" id="7_grid_hidden"]
|
|
|
|
|
|
[ext_resource type="Texture2D" path="res://items/icons/art/art_kit_grid_restore_light.png" id="8_grid_restore"]
|
|
|
|
|
|
[ext_resource type="Texture2D" path="res://items/icons/art/art_kit_grid_finish_light.png" id="9_grid_finish"]
|
2026-08-13 14:53:39 -04:00
|
|
|
|
|
|
|
|
|
|
[sub_resource type="ButtonGroup" id="GuideActionGroup"]
|
|
|
|
|
|
allow_unpress = true
|
2026-08-02 00:45:07 -04:00
|
|
|
|
|
2026-08-02 09:20:44 -04:00
|
|
|
|
[node name="SurfaceDrawingToolbar" type="Control"]
|
2026-08-02 00:45:07 -04:00
|
|
|
|
visible = false
|
|
|
|
|
|
z_index = 85
|
|
|
|
|
|
layout_mode = 0
|
2026-08-02 09:20:44 -04:00
|
|
|
|
anchors_preset = 1
|
|
|
|
|
|
anchor_left = 1.0
|
|
|
|
|
|
anchor_right = 1.0
|
2026-08-21 21:01:21 -04:00
|
|
|
|
offset_left = -634.0
|
2026-08-02 09:20:44 -04:00
|
|
|
|
offset_bottom = 373.0
|
|
|
|
|
|
grow_horizontal = 0
|
|
|
|
|
|
mouse_filter = 2
|
2026-08-02 00:45:07 -04:00
|
|
|
|
theme = ExtResource("2_theme")
|
|
|
|
|
|
script = ExtResource("1_script")
|
|
|
|
|
|
|
2026-08-02 09:20:44 -04:00
|
|
|
|
[node name="TopPanel" type="PanelContainer" parent="."]
|
2026-08-02 00:45:07 -04:00
|
|
|
|
unique_name_in_owner = true
|
2026-08-02 09:20:44 -04:00
|
|
|
|
layout_mode = 0
|
2026-08-21 21:01:21 -04:00
|
|
|
|
offset_right = 634.0
|
2026-08-02 09:20:44 -04:00
|
|
|
|
offset_bottom = 60.0
|
2026-08-02 00:45:07 -04:00
|
|
|
|
|
2026-08-02 09:20:44 -04:00
|
|
|
|
[node name="Top" type="HBoxContainer" parent="TopPanel"]
|
2026-08-02 00:45:07 -04:00
|
|
|
|
layout_mode = 2
|
2026-08-02 09:20:44 -04:00
|
|
|
|
theme_override_constants/separation = 5
|
2026-08-02 00:45:07 -04:00
|
|
|
|
|
2026-08-02 09:20:44 -04:00
|
|
|
|
[node name="BrushOption" type="OptionButton" parent="TopPanel/Top"]
|
2026-08-02 00:45:07 -04:00
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
custom_minimum_size = Vector2(80, 48)
|
|
|
|
|
|
layout_mode = 2
|
2026-08-15 14:28:13 -04:00
|
|
|
|
texture_filter = 1
|
|
|
|
|
|
tooltip_text = "marker size"
|
|
|
|
|
|
accessibility_name = "marker size"
|
|
|
|
|
|
expand_icon = true
|
|
|
|
|
|
fit_to_longest_item = false
|
2026-08-02 00:45:07 -04:00
|
|
|
|
|
2026-08-02 09:20:44 -04:00
|
|
|
|
[node name="GridOption" type="OptionButton" parent="TopPanel/Top"]
|
2026-08-02 00:45:07 -04:00
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
custom_minimum_size = Vector2(92, 48)
|
|
|
|
|
|
layout_mode = 2
|
2026-08-15 14:28:13 -04:00
|
|
|
|
texture_filter = 1
|
2026-08-02 00:45:07 -04:00
|
|
|
|
tooltip_text = "grid size"
|
2026-08-15 14:28:13 -04:00
|
|
|
|
accessibility_name = "grid size"
|
|
|
|
|
|
expand_icon = true
|
|
|
|
|
|
fit_to_longest_item = false
|
2026-08-02 00:45:07 -04:00
|
|
|
|
|
2026-08-02 09:20:44 -04:00
|
|
|
|
[node name="EraserButton" type="Button" parent="TopPanel/Top"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
2026-08-13 14:53:39 -04:00
|
|
|
|
texture_filter = 1
|
2026-08-02 09:20:44 -04:00
|
|
|
|
tooltip_text = "toggle eraser"
|
|
|
|
|
|
toggle_mode = true
|
2026-08-13 14:53:39 -04:00
|
|
|
|
accessibility_name = "toggle eraser"
|
2026-08-13 15:24:23 -04:00
|
|
|
|
icon = ExtResource("4_art_kit_eraser")
|
2026-08-13 14:53:39 -04:00
|
|
|
|
expand_icon = true
|
2026-08-02 09:20:44 -04:00
|
|
|
|
|
|
|
|
|
|
[node name="UndoButton" type="Button" parent="TopPanel/Top"]
|
|
|
|
|
|
unique_name_in_owner = true
|
2026-08-02 00:45:07 -04:00
|
|
|
|
layout_mode = 2
|
2026-08-08 00:34:06 -04:00
|
|
|
|
texture_filter = 1
|
2026-08-02 09:20:44 -04:00
|
|
|
|
tooltip_text = "undo last stroke"
|
2026-08-08 00:34:06 -04:00
|
|
|
|
accessibility_name = "undo last stroke"
|
|
|
|
|
|
icon = ExtResource("3_undo_light")
|
|
|
|
|
|
expand_icon = true
|
2026-08-02 09:20:44 -04:00
|
|
|
|
|
|
|
|
|
|
[node name="HideGuideButton" type="Button" parent="TopPanel/Top"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
2026-08-13 15:24:23 -04:00
|
|
|
|
texture_filter = 1
|
2026-08-13 14:53:39 -04:00
|
|
|
|
tooltip_text = "toggle hide grid mode"
|
2026-08-02 09:20:44 -04:00
|
|
|
|
toggle_mode = true
|
2026-08-13 14:53:39 -04:00
|
|
|
|
button_group = SubResource("GuideActionGroup")
|
2026-08-13 15:24:23 -04:00
|
|
|
|
accessibility_name = "toggle hide grid mode"
|
|
|
|
|
|
icon = ExtResource("7_grid_hidden")
|
|
|
|
|
|
expand_icon = true
|
2026-08-02 09:20:44 -04:00
|
|
|
|
|
|
|
|
|
|
[node name="RestoreGuideButton" type="Button" parent="TopPanel/Top"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
2026-08-13 15:24:23 -04:00
|
|
|
|
texture_filter = 1
|
2026-08-13 14:53:39 -04:00
|
|
|
|
tooltip_text = "toggle show grid mode"
|
2026-08-02 09:20:44 -04:00
|
|
|
|
toggle_mode = true
|
2026-08-13 14:53:39 -04:00
|
|
|
|
button_group = SubResource("GuideActionGroup")
|
2026-08-13 15:24:23 -04:00
|
|
|
|
accessibility_name = "toggle show grid mode"
|
|
|
|
|
|
icon = ExtResource("8_grid_restore")
|
|
|
|
|
|
expand_icon = true
|
2026-08-02 09:20:44 -04:00
|
|
|
|
|
|
|
|
|
|
[node name="FinalizeGuideButton" type="Button" parent="TopPanel/Top"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
2026-08-08 00:34:06 -04:00
|
|
|
|
texture_filter = 1
|
2026-08-13 14:53:39 -04:00
|
|
|
|
tooltip_text = "toggle finalize grid mode"
|
2026-08-02 09:20:44 -04:00
|
|
|
|
toggle_mode = true
|
2026-08-13 14:53:39 -04:00
|
|
|
|
button_group = SubResource("GuideActionGroup")
|
|
|
|
|
|
accessibility_name = "toggle finalize grid mode"
|
2026-08-13 15:24:23 -04:00
|
|
|
|
icon = ExtResource("9_grid_finish")
|
2026-08-08 00:34:06 -04:00
|
|
|
|
expand_icon = true
|
2026-08-02 09:20:44 -04:00
|
|
|
|
|
2026-08-21 21:01:21 -04:00
|
|
|
|
[node name="ExportButton" type="Button" parent="TopPanel/Top"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
tooltip_text = "export aimed artwork as PNG"
|
|
|
|
|
|
focus_mode = 0
|
|
|
|
|
|
accessibility_name = "export aimed artwork as PNG"
|
|
|
|
|
|
text = "png"
|
|
|
|
|
|
|
|
|
|
|
|
[node name="StampButton" type="Button" parent="TopPanel/Top"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
tooltip_text = "place saved artwork stamps"
|
|
|
|
|
|
focus_mode = 0
|
|
|
|
|
|
accessibility_name = "place saved artwork stamps"
|
|
|
|
|
|
text = "stamp"
|
|
|
|
|
|
|
2026-08-13 15:24:23 -04:00
|
|
|
|
[node name="ModeButton" type="Button" parent="TopPanel/Top"]
|
2026-08-02 09:20:44 -04:00
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
2026-08-08 00:34:06 -04:00
|
|
|
|
texture_filter = 1
|
2026-08-13 15:24:23 -04:00
|
|
|
|
tooltip_text = "switch between grid and marker mode"
|
|
|
|
|
|
accessibility_name = "switch to grid mode"
|
|
|
|
|
|
icon = ExtResource("5_art_kit_marker")
|
2026-08-08 00:34:06 -04:00
|
|
|
|
expand_icon = true
|
2026-08-02 09:20:44 -04:00
|
|
|
|
|
|
|
|
|
|
[node name="ColorPanel" type="PanelContainer" parent="."]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 0
|
2026-08-21 21:01:21 -04:00
|
|
|
|
offset_left = 588.0
|
2026-08-02 09:20:44 -04:00
|
|
|
|
offset_top = 54.0
|
2026-08-21 21:01:21 -04:00
|
|
|
|
offset_right = 634.0
|
2026-08-02 09:20:44 -04:00
|
|
|
|
offset_bottom = 373.0
|
|
|
|
|
|
|
|
|
|
|
|
[node name="ColorList" type="VBoxContainer" parent="ColorPanel"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
theme_override_constants/separation = 5
|
2026-08-21 21:01:21 -04:00
|
|
|
|
|
|
|
|
|
|
[node name="StampLibraryPanel" type="PanelContainer" parent="."]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
visible = false
|
|
|
|
|
|
z_index = 10
|
|
|
|
|
|
layout_mode = 0
|
|
|
|
|
|
offset_left = 57.0
|
|
|
|
|
|
offset_top = 64.0
|
|
|
|
|
|
offset_right = 577.0
|
|
|
|
|
|
offset_bottom = 366.0
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Margin" type="MarginContainer" parent="StampLibraryPanel"]
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
theme_override_constants/margin_left = 12
|
|
|
|
|
|
theme_override_constants/margin_top = 10
|
|
|
|
|
|
theme_override_constants/margin_right = 12
|
|
|
|
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Layout" type="VBoxContainer" parent="StampLibraryPanel/Margin"]
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
theme_override_constants/separation = 8
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Header" type="HBoxContainer" parent="StampLibraryPanel/Margin/Layout"]
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
|
|
|
|
|
|
[node name="Title" type="Label" parent="StampLibraryPanel/Margin/Layout/Header"]
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
text = "saved artwork"
|
|
|
|
|
|
theme_override_font_sizes/font_size = 22
|
|
|
|
|
|
|
|
|
|
|
|
[node name="StampLibraryClose" type="Button" parent="StampLibraryPanel/Margin/Layout/Header"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
custom_minimum_size = Vector2(42, 36)
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
focus_mode = 0
|
|
|
|
|
|
tooltip_text = "close saved artwork"
|
|
|
|
|
|
accessibility_name = "close saved artwork"
|
|
|
|
|
|
text = "×"
|
|
|
|
|
|
|
|
|
|
|
|
[node name="EmptyStampLibrary" type="Label" parent="StampLibraryPanel/Margin/Layout"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
text = "export artwork to add stamps"
|
|
|
|
|
|
horizontal_alignment = 1
|
|
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|
|
|
|
|
|
|
[node name="StampScroll" type="ScrollContainer" parent="StampLibraryPanel/Margin/Layout"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
visible = false
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
size_flags_vertical = 3
|
|
|
|
|
|
horizontal_scroll_mode = 0
|
|
|
|
|
|
|
|
|
|
|
|
[node name="StampGrid" type="GridContainer" parent="StampLibraryPanel/Margin/Layout/StampScroll"]
|
|
|
|
|
|
unique_name_in_owner = true
|
|
|
|
|
|
layout_mode = 2
|
|
|
|
|
|
size_flags_horizontal = 3
|
|
|
|
|
|
theme_override_constants/h_separation = 12
|
|
|
|
|
|
theme_override_constants/v_separation = 12
|
|
|
|
|
|
columns = 4
|