Camera move + tiledmap + running mobile
I've tried make a game with tiledmap and camera following just like many examples. It worked beautifully in my pc. The problem is that the camera really doens't work when running mobile. Is there an easy way to fix it? If not, please do it soon as possible
This looks like a duplicate of this issue
Actually, the problem is not just lagging, but the camera completely stops. And this happens specifically when running mobile. So I thought it would be good to open a new issue report.
This is a different issue. My camera is in the top left corner to start
So do mine
Interesting. For me, on scroll, the fps drops to about 5. This occurs no matter where in the map the camera is. I'm going to try the same code against recent (but older) versions of Phaser to hopefully see when the regression took place.
I'm using phaser 2.4.4, android lollipop
Is your code using the WebGL renderer, or Canvas? I find that WebGL on mobile with tilemaps can have some slowdown. I think this is due to the way Phaser and PIXI.js cache tilemaps.
Hmmmm... I'm almost sure I was using WebGL. But I think Canvas it's not as fast as WebGl, specially when running with Cordova in a mobile device.
Closing this because it's subjective, with no code example to test against, and no test environment details provided.