1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-19 09:39:48 +00:00
Pixelorama/Prefabs/Dialogs/ExportSprites.tscn
OverloadedOrama 67631ac648 Changed Export PNG settings, moved code from Main.gd to ExportSprites.gd
And made ExportSprites.tscn a scene of its own
2019-12-28 20:30:33 +02:00

29 lines
1.3 KiB
Plaintext

[gd_scene load_steps=2 format=2]
[ext_resource path="res://Scripts/Dialogs/ExportSprites.gd" type="Script" id=1]
[node name="ExportSprites" type="FileDialog"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -512.0
margin_top = -300.0
margin_right = 3.0
margin_bottom = 48.0
resizable = true
access = 2
filters = PoolStringArray( "*.png ; PNG Image" )
current_dir = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama"
current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρικα αρχεια/Godot Projects/Pixelorama/"
script = ExtResource( 1 )
[node name="ExportOption" type="OptionButton" parent="."]
margin_right = 41.0
margin_bottom = 20.0
text = "Export current frame"
items = [ "Export current frame", null, false, 0, null, "Export all frames as multiple files", null, false, 1, null, "Export all frames as a horizontal spritesheet (single file)", null, false, 2, null, "Export all frames as a vertical spritesheet (single file)", null, false, 3, null ]
selected = 0
[connection signal="file_selected" from="." to="." method="_on_ExportSprites_file_selected"]
[connection signal="item_selected" from="ExportOption" to="." method="_on_ExportOption_item_selected"]