Game Development Community

Grey box on animation

by Doug Barnes · in Torque Game Builder · 06/20/2007 (5:01 pm) · 1 replies

Hi everyone,

I am having a problems with some code that I'm writing in TGB 1.5. I have a animated sprite that I can move, and when I go to display the crouch sprite/ animation it become a large grey box the size of the sprite. This is the only sprite that the grey box appears on also, this error does not happen on my computer but when it is run on another the grey box appears.

Thanks for the help,
Doug

#1
06/20/2007 (8:03 pm)
Doug

are you using a cell based animation image map?

If yes then there might be a grey box left at the end of it, which needs to be deleted .

double click on the animation thumbnail in create menu to go in and check the animation and remove the frame if required.

If you are not using a cell based image map then while packaging it to run on other computer the crouch image file probably is not getting compiled, try copying that particular image file into the data > image folder of the 2nd computer.

I am still a noob but I doubt this is a script error, until and unless there is a bug with beta version of TGB itself