There seems to be a laggy with my game. Character movement and attack animations and enemy movement animation starts to slow down in the game.
This issue started when I decided to load an image with a width of 3392 pixels and draw that image to the game. I am using this image as a background for my game.
My game screen width is 660.
The laggy issue stops when I decided to use a different image with a width of 768 pixels.
Why is this happening exactly? Memory issue? Image issue?
Do larger image use more memory than smaller image?
It is certainly an interesting issue.