Hi all,
I am adding some animated sprites to my game to represent bullets hitting the floor, but it appears to be causing some jerking in the game when either the sprite is created or during the animation.
I create this effect by having one prototype sprite and then every time i want to create a new one I CopyEntity.
This is the technique I am using
;To create the sprite we do a copy
CopiedSprite = CopyEntity( Bullet_Splate_Prototype)
;I then have to update the animation during each game loop
EntityTexture(CopiedSprite , Bullet_Splate_Prototype_Texture, FrameNum) I am also correctly removing the sprite when the animation has finished.
Any idea why i am getting this jerky slowdown?
Cheers
|