#150904 - krozen - Thu Feb 14, 2008 5:43 pm
Hi guys,
I'm using grit (which is so much handier than using gfx2gba!). I have one issue. I have a sprite sheet, which has 2 animations in it, lets call them A and B. Each animation has 8 frames. Each sprite is 32x32. The sprite sheet is arranged as follows (where A(n) and B(n) a each frame of animation):
A1 B1
A2 B2
A3 B3
A4 B4
A5 B5
A6 B6
A7 B7
A8 B8
I want to export these to be used on the DS. However, I've run into an issue with grit.
Using grit, I am able to export all the A frames seperately, as it allows you to specify the area of the image to export. I do by exporting the rectangle made up by 0,0 to 32,256. This works fine, and the sprites appear fine on the DS.
However, if I try to export 0,32 to 64,256 (i.e. animation frames B), it doesn't seem to work! The sprite data appearing on the DS is garbled. Anyone have any idea if there is any issue with this part of the program?
EDIT: Whoops, should have read the manual more closely. The fields in wingrit are for the width and height of the area, not for absolute values.
Cheers guys!
Thanks for your help.
I'm using grit (which is so much handier than using gfx2gba!). I have one issue. I have a sprite sheet, which has 2 animations in it, lets call them A and B. Each animation has 8 frames. Each sprite is 32x32. The sprite sheet is arranged as follows (where A(n) and B(n) a each frame of animation):
A1 B1
A2 B2
A3 B3
A4 B4
A5 B5
A6 B6
A7 B7
A8 B8
I want to export these to be used on the DS. However, I've run into an issue with grit.
Using grit, I am able to export all the A frames seperately, as it allows you to specify the area of the image to export. I do by exporting the rectangle made up by 0,0 to 32,256. This works fine, and the sprites appear fine on the DS.
However, if I try to export 0,32 to 64,256 (i.e. animation frames B), it doesn't seem to work! The sprite data appearing on the DS is garbled. Anyone have any idea if there is any issue with this part of the program?
EDIT: Whoops, should have read the manual more closely. The fields in wingrit are for the width and height of the area, not for absolute values.
Cheers guys!
Thanks for your help.