Users browsing this thread: 2 Guest(s)
Xenogears Battle Sprites
#7
Quote:Grabbed a random monster and put it in Sheet Maker. Is there are a reason why the boxes for each frame have a different size?

I don't have the sprite width and height before creating the canvas, so I set it to something really high, like 768x768. Then I trimmed off the excessive space around the sprite.

Regardless what is the frame size, the center of the frame is the center point 0,0 . If you align every frame to this point, you can animate them correctly.

Is there any gravity option in Sheet Maker to center them? montage (from ImageMagick) have "-gravity center" option to center the frame.

If the space is bothering you, you can use mogrify -trim to (blindly) remove them.

http://www.imagemagick.org/Usage/montage/#controls
http://www.imagemagick.org/script/comman...s.php#trim

Here are the commands and the result

Code:
# blindly remove empty borders from the image (like "Autocrop Image" on GIMP)
mogrify -trim +repage -strip 0*.png

# tiled all images into 8-columns and save it as "sheet.png"
montage -geometry '1x1<' -background none -tile 8x -gravity center -stripĀ  0*.pngĀ  sheet.png

[Image: dJwx0SZ.png]

As you can tell, the sprites is no longer aligned. They are not at the same floor level anymore.

But this would be what I'll do when making a spritesheet. You guys can do a better job than me.

Take care,
- Rufas
Reply
Thanked by: Mortifier777, Ton


Messages In This Thread
Xenogears Battle Sprites - by rufaswan - 05-03-2020, 01:24 PM
RE: Xenogears Battle Sprites - by SmithyGCN - 05-03-2020, 02:40 PM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-03-2020, 03:14 PM
RE: Xenogears Battle Sprites - by Barack Obama - 05-03-2020, 06:19 PM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-03-2020, 07:20 PM
RE: Xenogears Battle Sprites - by Ton - 05-03-2020, 08:29 PM
RE: Xenogears Battle Sprites - by rufaswan - 05-04-2020, 05:09 PM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-04-2020, 07:00 PM
RE: Xenogears Battle Sprites - by Barack Obama - 05-04-2020, 07:47 PM
RE: Xenogears Battle Sprites - by SmithyGCN - 05-05-2020, 06:54 PM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-05-2020, 09:38 PM
RE: Xenogears Battle Sprites - by SmithyGCN - 05-05-2020, 10:28 PM
RE: Xenogears Battle Sprites - by Deathbringer - 05-06-2020, 06:43 AM
RE: Xenogears Battle Sprites - by Mortifier777 - 05-06-2020, 01:29 PM
RE: Xenogears Battle Sprites - by rufaswan - 05-07-2020, 05:12 PM
RE: Xenogears Battle Sprites - by Deathbringer - 05-08-2020, 04:33 PM
RE: Xenogears Battle Sprites - by IceManual - 05-13-2020, 04:10 AM
RE: Xenogears Battle Sprites - by rufaswan - 06-20-2020, 06:43 PM
RE: Xenogears Battle Sprites - by rufaswan - 06-29-2020, 05:40 PM
RE: Xenogears Battle Sprites - by Ton - 06-30-2020, 07:20 AM
RE: Xenogears Battle Sprites - by rufaswan - 07-11-2020, 05:59 PM
RE: Xenogears Battle Sprites - by Barack Obama - 07-12-2020, 12:17 PM
RE: Xenogears Battle Sprites - by rufaswan - 10-03-2020, 03:45 PM
RE: Xenogears Battle Sprites - by FormerUser12 - 10-12-2020, 06:46 PM
RE: Xenogears Battle Sprites - by rufaswan - 10-24-2020, 06:23 PM
RE: Xenogears Battle Sprites - by FormerUser12 - 10-24-2020, 08:10 PM
RE: Xenogears Battle Sprites - by Topheryu - 04-16-2022, 09:55 AM
RE: Xenogears Battle Sprites - by rufaswan - 04-16-2022, 06:30 PM
RE: Xenogears Battle Sprites - by Topheryu - 04-16-2022, 08:15 PM
RE: Xenogears Battle Sprites - by rufaswan - 04-17-2022, 02:21 PM

Forum Jump: