Question About Sprites
Obst
Join Date: 2003-03-12 Member: 14436Members, Constellation
<div class="IPBDescription">Do they need to match in length?</div> Do sprites (in certain the muzzleflashX.spr sprites) need to be the same length or not? Cause I'm experiencing problems with a sprite showing up and am bughunting at the moment <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html//emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /><!--endemo-->
Comments
However, if there are too few frames (e.g. eight frames when the original has 12), then the animation will 'replay'. If there are too many frames (e.g. 12 frames when the original has eight), then the animation will end abruptly.
The above cases are most noticable in sprites that are shown in sequence (like explosions and smoke effects, but <b>not</b> muzzleflash)
I suspect that the reason you sprite is not working, is because muzzleflash3.spr is not used <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html//emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif' /><!--endemo-->
muzzleflash1 is for Marine weaponry
muzzleflash2 is for Turrets and Siege Cannons
muzzleflash3 is for nothing
Adjusted the sprite to be exactly the same, should work now.
*goes off testin*