Hi everyone,
I´ve noticed that my latest addition to my game causes some minor frame rate hickups. Almost everytime I add a new enemy I have to rotate two images, the enemy and its shadow. This leads to a small hiccup which is noticable since the game otherwise runs smoothly at 60 fps.
What´s the best way to do it perfomance wise? Create a texture atlas with every direction possible (only 4) and load each image when its needed? Any other suggestions?