Better spritesheet exporting

You can now choose how many columns you want your spritesheet to be, allowing you to export atlases.

ISSUE: If the number of columns is larger than the number of rows AND rows * columns are not equal to the number of frames, the result is weird. The exported image has transparent space on its bottom side.
This commit is contained in:
OverloadedOrama 2019-12-29 16:55:01 +02:00
parent 4ae5968887
commit eeaa691d36
8 changed files with 68 additions and 39 deletions

View file

@ -1541,6 +1541,7 @@ margin_bottom = 17.0
rect_min_size = Vector2( 106, 0 )
size_flags_vertical = 1
value = 100.0
ticks_on_borders = false
[node name="OpacitySpinBox" type="SpinBox" parent="MenuAndUI/UI/LayerPanel/LayersAndMisc/LayerVBoxContainer/OpacityCenter/OpacityContainer"]
margin_left = 158.0
@ -1736,6 +1737,7 @@ current_path = "C:/Users/Overloaded/Dropbox/Orama Founding Members/εταιρι
[node name="ImportSprites" parent="." instance=ExtResource( 61 )]
[node name="ExportSprites" parent="." instance=ExtResource( 62 )]
visible = false
[node name="ScaleImage" type="ConfirmationDialog" parent="."]
editor/display_folded = true