tileset addon to charset

Started by legacyblade, November 10, 2008, 12:27:04 am

Previous topic - Next topic

legacyblade

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.



Thanks for reading!

ozoke

its a pretty big charaset
http://img396.imageshack.us/my.php?image=treeqn3.png

it should all match up. hope thats what you wanted.

Blizzard

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
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.

legacyblade

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!

Blizzard

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.
Check out Daygames and our games:

King of Booze 2      King of Booze: Never Ever
Drinking Game for Android      Never have I ever for Android
Drinking Game for iOS      Never have I ever for iOS


Quote from: winkioI do not speak to bricks, either as individuals or in wall form.

Quote from: Barney StinsonWhen I get sad, I stop being sad and be awesome instead. True story.