Game is getting slow in mobile browsers


#1

i have built a game using the PhaserCE, its been working fine in desktop browsers but when it comes to the mobile browser the animations and gameplay is getting slow help me to get rid of this issue.


#2

Maybe it’s your device that has low performance, because I am coding a game to port it on mobile devices and it seems to work fine on mine you can test it here https://nazimboudeffa.itch.io/coffee-break


#3

actually its all about sprite sheet i am using, i.e my game is all about animations so RAF is getting slow in mobile browsers donno why ?


#4

Hello @nagFlapjacks
Do you mind telling us how are you making ur spritesheet’s?
Also those png’s pixel size’s please :slight_smile:

Other then that you might wanna check this link on html5gamedevs


#5

my spritesheet is really big and not in size but frames i am talking about.