Game Development Community

Image Builder changes my values

by jarruda · in Technical Issues · 08/03/2011 (7:59 am) · 1 replies

First thing that I'd like to say is that the forums search tool is practically useless. It shouldn't be searching the entire site when it's clearly marked "Search forums" and there's another box above it that says "Search site". This question may have already been answered, but I ran out of patience trying to track it down.


My issue is that the Image Builder keeps changing my values to seemingly random ones when attempting to create a CELL image map. I have a sprite sheet that is 280x1000 with 40x40 sprites on it. It has exactly 7 columns and 25 rows.

No matter whether I specify the rows and columns or the cell dimensions, IB decides to change the cell height to 62 and the rows to 16. Is this a TGB limitation? I have searched through the docs endlessly trying to find out the answer to this to no avail.

#1
08/03/2011 (8:11 am)
Update to this issue:

I moved some sprites around and reduced the image size to 280x800, and when I did this I was able to specify the number of rows and columns, and once I tabbed off of those fields it worked UNTIL I tabbed onto the cell height, where the editor changed it to 50 and screwed it all up again.

If I just change the # of rows and columns and don't ever give focus to the width/height fields, the builder will interpret the image correctly.

This looks like a definite bug.