Coidan Posted August 29, 2015 Report Share Posted August 29, 2015 When I export the project as spritesheets it makes the sprites attached to them. I want to make a certain space between each sprite. How can I do this?This is how they look:This is how I want to: Note: I have Steam version of the software Quote Link to comment Share on other sites More sharing options...
Stinky Posted August 29, 2015 Report Share Posted August 29, 2015 You can export PNG images and use this:http://www.imagemagick.org/script/index.phpmake sure they are sequentially named and then use this command from inside the images folder:montage -geometry 256x256+0+0 -background transparent *.png SpriteSheet.pngchange teh 256x256 with your tiles dimensions, and the +0+0 change to the amount of padding you want around the images. You can save that command in a text file, and rename the file to *.bat or *.cmd so you do not have to type it every time. Here is the file I use so it cleans up the folder every time: del SpriteSheet.pngmontage -geometry 256x256+0+0 -background transparent *.png SpriteSheet.png Here is a fun tip, Save the file in your : Disk where windows is installed:\Users\YOUR_NAME_HERE\AppData\Roaming\Microsoft\Windows\SendTo Now you can just hilight an entire folder, rightclick on the images and select Send to: The_batch_File_You_Made.bat Poof! you have a sprite sheet! Be sure to play with image magic! ther are a lot of great little tricks you can do, tha save loads of time. Resizing and rotating an entire folder of images? No problem! RunnerPack 1 Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted September 1, 2015 Report Share Posted September 1, 2015 Another option is to simply use the source "rectangle/custom rect" feature while exporting. This would allow you to perfectly control how much space you have around your frames. If your coin is 100 by 100 pixels and centered. setting top=-50, left=-50 right=50 bottom=50 would crop it with no space... adding 1 to each number (-51 and 51 respectively I mean) would give you a 2 pixel border of space all around. Cheers. Quote Link to comment Share on other sites More sharing options...
Nicholas Turner Posted November 10, 2017 Report Share Posted November 10, 2017 On 9/1/2015 at 10:51 AM, Mike at BrashMonkey said: Another option is to simply use the source "rectangle/custom rect" feature while exporting. This would allow you to perfectly control how much space you have around your frames. If your coin is 100 by 100 pixels and centered. setting top=-50, left=-50 right=50 bottom=50 would crop it with no space... adding 1 to each number (-51 and 51 respectively I mean) would give you a 2 pixel border of space all around. Cheers. Awesome!!! I've been looking for info on how to do that! Quote Link to comment Share on other sites More sharing options...
Mike at BrashMonkey Posted November 10, 2017 Report Share Posted November 10, 2017 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.