My game is working well on PC, but I have some performance issues. The game contains:
- 5 BG layers + main layer + hud layer (7 layers)
- Enemies using the platform behavior
- Running on 1280x720
- Using tilemap
- Character animations have around 10 frames
In some scenes the game reaches 30 FPS, but sometimes it drops for 20, 14 or even less. Sometimes the game just freeze for a second (0 fps) and back to normal after this. My goal is maintain the 30 FPS all the time. Any ideas what can I do to do it? Any performance tips to improve the FPS?