[gd_scene load_steps=4 format=3 uid="uid://c5dwobjd34w3p"] [ext_resource type="Script" uid="uid://ufmscsnm8ya3" path="res://addons/AsepriteWizard/interface/docks/wizard/as_wizard_window.gd" id="1"] [sub_resource type="Image" id="Image_gc3fe"] data = { "data": PackedByteArray(255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 92, 92, 127, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 255, 255, 92, 92, 127, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 92, 92, 127, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 92, 92, 127, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 231, 255, 90, 90, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 231, 255, 90, 90, 54, 255, 94, 94, 57, 255, 93, 93, 233, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 42, 255, 90, 90, 0, 255, 94, 94, 0, 255, 91, 91, 42, 255, 93, 93, 233, 255, 92, 92, 232, 255, 93, 93, 41, 255, 90, 90, 0, 255, 94, 94, 0, 255, 91, 91, 42, 255, 93, 93, 233, 255, 92, 92, 232, 255, 92, 92, 0, 255, 92, 92, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 45, 255, 93, 93, 44, 255, 91, 91, 0, 255, 91, 91, 42, 255, 91, 91, 42, 255, 93, 93, 0, 255, 91, 91, 45, 255, 93, 93, 44, 255, 91, 91, 0, 255, 91, 91, 42, 255, 91, 91, 42, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 45, 255, 92, 92, 235, 255, 92, 92, 234, 255, 89, 89, 43, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 45, 255, 92, 92, 235, 255, 92, 92, 234, 255, 89, 89, 43, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 91, 91, 0, 255, 92, 92, 0, 255, 92, 92, 0, 255, 92, 92, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 91, 91, 59, 255, 92, 92, 61, 255, 92, 92, 235, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 233, 255, 91, 91, 59, 255, 92, 92, 61, 255, 92, 92, 0, 255, 92, 92, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 255, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0, 255, 93, 93, 0), "format": "RGBA8", "height": 16, "mipmaps": false, "width": 16 } [sub_resource type="ImageTexture" id="ImageTexture_lk6qb"] image = SubResource("Image_gc3fe") [node name="ASWizardWindow" type="PanelContainer"] offset_right = 600.0 offset_bottom = 600.0 size_flags_horizontal = 3 size_flags_vertical = 0 script = ExtResource("1") [node name="container" type="MarginContainer" parent="."] layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 3 [node name="options" type="VBoxContainer" parent="container"] layout_mode = 2 theme_override_constants/separation = 15 [node name="file_location" type="VBoxContainer" parent="container/options"] layout_mode = 2 [node name="file_location_label" type="Label" parent="container/options/file_location"] layout_mode = 2 tooltip_text = "Location of the Aseprite *.ase source file" mouse_filter = 1 text = "Aseprite File Location:" clip_text = true [node name="HBoxContainer" type="HBoxContainer" parent="container/options/file_location"] layout_mode = 2 [node name="file_location_path" type="LineEdit" parent="container/options/file_location/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "res://llamacorp_ramon_pinata.aseprite" caret_blink = true [node name="file_location_btn" type="Button" parent="container/options/file_location/HBoxContainer"] layout_mode = 2 text = "Select" [node name="layer_section" type="VBoxContainer" parent="container/options"] layout_mode = 2 [node name="header" type="HBoxContainer" parent="container/options/layer_section"] layout_mode = 2 [node name="section_header" type="Button" parent="container/options/layer_section/header"] layout_mode = 2 text = "Layers" icon = SubResource("ImageTexture_lk6qb") flat = true alignment = 0 [node name="HSeparator" type="HSeparator" parent="container/options/layer_section/header"] visible = false layout_mode = 2 size_flags_horizontal = 3 [node name="section_content" type="MarginContainer" parent="container/options/layer_section"] layout_mode = 2 theme_override_constants/margin_left = 20 [node name="items" type="VBoxContainer" parent="container/options/layer_section/section_content"] layout_mode = 2 [node name="exclude_pattern" type="VBoxContainer" parent="container/options/layer_section/section_content/items"] layout_mode = 2 [node name="label" type="Label" parent="container/options/layer_section/section_content/items/exclude_pattern"] layout_mode = 2 tooltip_text = "If layer name matches this pattern, it won't be exported." mouse_filter = 1 text = "Exclude layers with name matching pattern:" [node name="pattern" type="LineEdit" parent="container/options/layer_section/section_content/items/exclude_pattern"] layout_mode = 2 text = "_$" caret_blink = true [node name="split_layers" type="HBoxContainer" parent="container/options/layer_section/section_content/items"] layout_mode = 2 [node name="field" type="CheckBox" parent="container/options/layer_section/section_content/items/split_layers"] layout_mode = 2 tooltip_text = "If selected, one resource will be created for each layer. If not selected, layers will be merged and exported as one SpriteSheet." text = "Split layers in multiple resources" [node name="visible_layers" type="HBoxContainer" parent="container/options/layer_section/section_content/items"] layout_mode = 2 [node name="field" type="CheckBox" parent="container/options/layer_section/section_content/items/visible_layers"] layout_mode = 2 tooltip_text = "If selected, layers not visible in the source file won't be included in the final image." text = "Only include visible layers" [node name="animation_section" type="VBoxContainer" parent="container/options"] layout_mode = 2 [node name="header" type="HBoxContainer" parent="container/options/animation_section"] layout_mode = 2 [node name="section_header" type="Button" parent="container/options/animation_section/header"] layout_mode = 2 text = "Animation" icon = SubResource("ImageTexture_lk6qb") flat = true alignment = 0 [node name="section_content" type="MarginContainer" parent="container/options/animation_section"] layout_mode = 2 theme_override_constants/margin_left = 20 [node name="items" type="VBoxContainer" parent="container/options/animation_section/section_content"] layout_mode = 2 [node name="round_fps" type="HBoxContainer" parent="container/options/animation_section/section_content/items"] layout_mode = 2 [node name="field" type="CheckBox" parent="container/options/animation_section/section_content/items/round_fps"] layout_mode = 2 tooltip_text = "If selected, rounds FPS to next integer" button_pressed = true text = "Round FPS" [node name="output_section" type="VBoxContainer" parent="container/options"] layout_mode = 2 [node name="header" type="HBoxContainer" parent="container/options/output_section"] layout_mode = 2 [node name="section_header" type="Button" parent="container/options/output_section/header"] layout_mode = 2 text = "Output" icon = SubResource("ImageTexture_lk6qb") flat = true alignment = 0 [node name="HSeparator" type="HSeparator" parent="container/options/output_section/header"] visible = false layout_mode = 2 size_flags_horizontal = 3 [node name="section_content" type="MarginContainer" parent="container/options/output_section"] layout_mode = 2 theme_override_constants/margin_left = 20 [node name="items" type="VBoxContainer" parent="container/options/output_section/section_content"] layout_mode = 2 [node name="output_folder" type="VBoxContainer" parent="container/options/output_section/section_content/items"] layout_mode = 2 [node name="label" type="Label" parent="container/options/output_section/section_content/items/output_folder"] layout_mode = 2 tooltip_text = "Folder where the SpriteSheet resource is going to be saved" mouse_filter = 1 text = "Output Folder:" [node name="HBoxContainer" type="HBoxContainer" parent="container/options/output_section/section_content/items/output_folder"] layout_mode = 2 [node name="file_location_path" type="LineEdit" parent="container/options/output_section/section_content/items/output_folder/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "res://test" caret_blink = true [node name="output_folder_btn" type="Button" parent="container/options/output_section/section_content/items/output_folder/HBoxContainer"] layout_mode = 2 text = "Select" [node name="custom_filename" type="VBoxContainer" parent="container/options/output_section/section_content/items"] layout_mode = 2 [node name="label" type="Label" parent="container/options/output_section/section_content/items/custom_filename"] layout_mode = 2 tooltip_text = "Output filename. In case layers are not being merged, this is used as file prefix. If not set, source filename is used." mouse_filter = 1 text = "Output File Name / Prefix:" [node name="pattern" type="LineEdit" parent="container/options/output_section/section_content/items/custom_filename"] layout_mode = 2 text = "fromwiz" caret_blink = true [node name="scale" type="HBoxContainer" parent="container/options/output_section/section_content/items"] layout_mode = 2 theme_override_constants/separation = 5 [node name="Label" type="Label" parent="container/options/output_section/section_content/items/scale"] layout_mode = 2 text = "Scale" [node name="SpinBox" type="SpinBox" parent="container/options/output_section/section_content/items/scale"] layout_mode = 2 min_value = 1.0 value = 1.0 rounded = true allow_greater = true [node name="disable_resource_creation" type="HBoxContainer" parent="container/options/output_section/section_content/items"] layout_mode = 2 [node name="field" type="CheckBox" parent="container/options/output_section/section_content/items/disable_resource_creation"] layout_mode = 2 tooltip_text = "Does not create SpriteFrames resource. Useful if you are only interested in the .json and .png output from Aseprite." text = "Do not create resource file" [node name="buttons" type="HBoxContainer" parent="container/options"] layout_mode = 2 alignment = 2 [node name="close" type="Button" parent="container/options/buttons"] layout_mode = 2 text = "Close" [node name="clear" type="Button" parent="container/options/buttons"] layout_mode = 2 text = "Clear" [node name="next" type="Button" parent="container/options/buttons"] layout_mode = 2 text = "Import" [connection signal="button_up" from="container/options/file_location/HBoxContainer/file_location_btn" to="." method="_open_aseprite_file_selection_dialog"] [connection signal="button_down" from="container/options/layer_section/header/section_header" to="." method="_on_layer_section_header_button_down"] [connection signal="button_down" from="container/options/animation_section/header/section_header" to="." method="_on_animation_header_button_down"] [connection signal="button_down" from="container/options/output_section/header/section_header" to="." method="_on_output_section_header_button_down"] [connection signal="button_up" from="container/options/output_section/section_content/items/output_folder/HBoxContainer/output_folder_btn" to="." method="_open_output_folder_selection_dialog"] [connection signal="button_up" from="container/options/buttons/close" to="." method="_on_close_btn_up"] [connection signal="button_up" from="container/options/buttons/clear" to="." method="_on_clear_button_up"] [connection signal="button_up" from="container/options/buttons/next" to="." method="_on_next_btn_up"]