I'm currently developing my game for a mobile game, my problem is something like this. I have a player using 8 direction movement, a touch event for mobile controls, some tiled background(64x64) for the walls and lastly a tiledbackground(128x128) for a background. My Viewport size is 720x1280(landscape) when I'm testing my game on an android device (8.0) Whenever the player moves in a different direction I noticed that my FPS drop from 60 to 45-52 after trying different method to solved my problem I found out that my background is causing a problem.Here are my method lists.
METHOD 1 :
Delete background (tiledbackground)
Current FPS when player moves: 58-60
METHOD 2:
Change background to a sprite instead of tiledbackground
Current FPS when player moves:56-60
Problem: apk size will increase(gonna used multiple backgrounds)
METHOD 3:
Change Viewport size to a smaller one
Current FPS when player moves: 58-60
Problem:I don't feel like using small viewport(Graphics quality will decrease).
Here's my simple event
Note:My fps drops only when I'm testing on a mobile devices but on a desktop the fps is on a normal rate.