[gd_scene load_steps=2 format=3 uid="uid://c5dwobjd34w3p"] [ext_resource type="Script" path="res://addons/AsepriteWizard/interface/docks/wizard/as_wizard_window.gd" id="1"] [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 [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 caret_blink = true [node name="file_location_btn" type="Button" parent="container/options/file_location/HBoxContainer"] layout_mode = 2 text = "Select" [node name="output_folder" type="VBoxContainer" parent="container/options"] layout_mode = 2 [node name="label" type="Label" parent="container/options/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_folder"] layout_mode = 2 [node name="file_location_path" type="LineEdit" parent="container/options/output_folder/HBoxContainer"] layout_mode = 2 size_flags_horizontal = 3 text = "res://" caret_blink = true [node name="output_folder_btn" type="Button" parent="container/options/output_folder/HBoxContainer"] layout_mode = 2 text = "Select" [node name="exclude_pattern" type="VBoxContainer" parent="container/options"] layout_mode = 2 [node name="label" type="Label" parent="container/options/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/exclude_pattern"] layout_mode = 2 caret_blink = true [node name="custom_filename" type="VBoxContainer" parent="container/options"] layout_mode = 2 [node name="label" type="Label" parent="container/options/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/custom_filename"] layout_mode = 2 caret_blink = true [node name="layer_importing_mode" type="VBoxContainer" parent="container/options"] layout_mode = 2 [node name="label" type="Label" parent="container/options/layer_importing_mode"] layout_mode = 2 mouse_filter = 1 text = "Options:" [node name="split_layers" type="HBoxContainer" parent="container/options/layer_importing_mode"] layout_mode = 2 [node name="field" type="CheckBox" parent="container/options/layer_importing_mode/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_importing_mode"] layout_mode = 2 [node name="field" type="CheckBox" parent="container/options/layer_importing_mode/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="disable_resource_creation" type="HBoxContainer" parent="container/options/layer_importing_mode"] layout_mode = 2 [node name="field" type="CheckBox" parent="container/options/layer_importing_mode/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="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_up" from="container/options/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/next" to="." method="_on_next_btn_up"]