#173908 - gauauu - Fri May 07, 2010 8:57 pm
I have an image that contains my entire tileset....something like 12 tiles by 96 tiles.
I'd like to rearrange it to be a different dimension (16 tiles by X tiles, or 1 tile by a lot of tiles). Anyone know of a good tool to do that?
Thanks!
#173911 - Dwedit - Fri May 07, 2010 9:45 pm
Two nested for loops and a blit?
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."
#173921 - Cearn - Sat May 08, 2010 7:06 am
Usenti can do this (Menu: Image->Rearrange). From the existing image, rearrange to a tile column (enter tile sizes), and then to the arrangement you want by using the width of the desired outcome and the height of of a single tile.
For example, if a tile is WxH and you have 12x96 tiles, rearrange by WxH gives an image Wx(H*12*96) in size, representing 1x(12*96) tiles. Now enter (16*W)xH and you get an image of 16 tiles by 36.
#173957 - gauauu - Mon May 10, 2010 1:54 am
Dwedit: yes, exactly that. But I didn't feel like writing it again :)
Cearn: Heh, not sure how I missed that...I looked through the menus of Usenti (it being my main tool for this sort of thing!) but somehow didn't see it. (or more likely, saw it and wrongly thought it wouldn't do what I needed) Thanks!
#178356 - Sumer - Thu Mar 26, 2015 11:05 am
Hmm I forgot about sorting, ok looks like polygonal line segments are the way to go, thanks :-)
_________________
http://www.test-king.com/learn-language/IELTS.htm
http://www.test-king.com/learn-language/TOEFL.htm