I've been making a new game for mobile devices and it is like an infinite runner but with an actual ending.
My problem is that it has to be precise and right now I can't get in to run smoothly when i export and compile it with cocoonjs for android. There is a little lag here and there that ruins the feeling of the game. It runs super smooth on the pc but not on my Galaxy Note 3 and that phone is a monster so I guess it runs like crap on normal phones
The game isn't that heavy and there are about 150 objects total/layout and 40-100 collision checks per tick. Obstacles are not spawned because the whole level is built on a 20 000 x 720 layout where collisions are disabled when objects are "out of view".
So does someone here have any useful tips on how to make a game run smoothly on a mobile device?
And for you who have exported a mobile game with good results. How did you accomplish this? CocoonJs, Crosswalk other?
I've read all tutorials here and can't find a solution. Is it even possible to make a smooth running game on mobile or is it impossible with wrappers like cocoonjs and crosswalk?
Thank you in advance!