Hello everyone. I have run into a problem. I created a tileset addon for Darkness Rebirth, but because of what I'm using it for, it'd be MUCH easier if it were a charset. Unfortunately, I'm not sure how to calculate the size the charset image would have to be. If anyone could put the following image into charset format, I'd be very happy.
(http://celenath.com/DR/TreeSprite.png)
Thanks for reading!
its a pretty big charaset
http://img396.imageshack.us/my.php?image=treeqn3.png
it should all match up. hope thats what you wanted.
Hm... How big is the bounding rectangle? Just round the numbers up on a 32 basis and multiply them with 4. i.e.
original: 156x113
after rounding (one cell in the image): 160x128
final image dimensions with all 4x4 cells: 640x512
In your case it would be:
original: 255x309
after rounding (one cell in the image): 256x320
final image dimensions with all 4x4 cells: 1024x1280
thanks ozoke. Yeah, it's big, but a bunch of poses will be used on it, and that'd be a heck of a lot easier if the tree was a sprite, rather than part of the tileset.
@blizz, thanks! I appreciate you explaining how it works!
You can usually use any dimensions dividable by 4, but for tileset-to-spriteset conversions it's the best if you stick to dimensions dividable by 128 (4 times 32) because of the easier positioning.