[HELP] Extreme lag when testing the sprite change system

Before i implemented the sprite array and swap system my tests were running fine and the frame rate was very steady and consistent. After i correctly implemented the array and sprite changer system the fram rates now drop to below 20 and i dont know why. Any help would be much appreciated. :slight_smile:

I Solved this issue by adding the idle, non-damaged brick to my array and taking away the -1 from the β€œint SpriteIndex = TimesHit;” line.

Privacy & Terms