Mottatta Posted November 9, 2017 Share Posted November 9, 2017 Hi guys! So I am trying to create a mobile racing game in Phaser. But the game has really poor performance on mobile. I tried to reduce a lot of things in the game and test if I get a better performance, but so far no success. What I have so far after reducing everything to absolute minimum is a sprite of a car (79x160 png image), a sprite for the background (100150 png) and in the update function I only scroll the background adding to the background y some value to move it down. I am running the game in CANVAS mode. Any thoughts what might be happening, or any tips or tricks that will improve the performance? Thanks! Link to comment Share on other sites More sharing options...
Skeptron Posted November 10, 2017 Share Posted November 10, 2017 Can we see the code somewhere? Without that it's really hard to help you Link to comment Share on other sites More sharing options...
Mottatta Posted November 12, 2017 Author Share Posted November 12, 2017 http://karnobat-open.byethost7.com/CarGame/ This is the game, you can go and check the code, if you'd like to help :-) Thanks! Link to comment Share on other sites More sharing options...
damager Posted November 12, 2017 Share Posted November 12, 2017 debug.text is really slow method. How many fps without whis method? On my mobile game with this method runs 45-55 fps(Meizu m3) also you should use bitmap texts, they improve performance but require a lot of memory Link to comment Share on other sites More sharing options...
Recommended Posts