Game Development Community

Issue with Animations showing up as black boxes

by Rich Hudson · in Torque X 2D · 09/25/2007 (9:39 pm) · 4 replies

I have 3 animations , a main character, a monster and a small animation of text.

Independently they all appear properly.

When the monster approaches the character and "swings" his weapon everything is still fine, however every 3 seconds a calulated attack is happening in the game logic behind the scene, if the monster misses (which I have for now hard coded to true) then an animation plays above the characters head, its a png (just has the word "Miss!" which fades in and then out) and transparency is set correctly for it. When this animation plays however the monster animation changes to a solid black square the size of the image.

Any ideas why this would happen? I know it is happening to the Monster b/c the "Miss" animation is attached to one of its components, but no clue as to why it appears when the "Miss" animation is cloned and registered.

Any ideas?

RH

#1
09/26/2007 (1:41 pm)
Weird... that doesn't seem right to me. If you take out just the cloning and registration of the miss animation everything works fine?
#2
09/26/2007 (7:32 pm)
Yes. And it is strange. I have tried various things with no success.
#3
09/26/2007 (7:33 pm)
Ok well I ran the application tonight and everything is working fine - so maybe something was wack last night.

Gotta love it.

RH
#4
09/27/2007 (3:08 pm)
Ok.. let us know if it crops up again. That's definitely something we want to avoid. :)