Riu Posted September 15, 2015 Share Posted September 15, 2015 Hello everyone, Me and my friends are developing a simple platform game in phaser.io, but we have a performance problem which i believe to be the number of elements on the screen, removing part of the elements (platforms to be exact) the fps goes up to 60, that's normal? Game: http://abeeventure.com/ Link to comment Share on other sites More sharing options...
MichaelD Posted September 16, 2015 Share Posted September 16, 2015 The game has low fps from the beginning, from what I've seen on the code (very briefly) is that the world bounds to 20000 pixels is very large (you could try creating some dynamically as the player moves, because imagine the following scenario: The player loses after the second encounter, in this scenario you have created the whole world but only a portion is used. Maybe start with that and see what impact does it have on the performance. Link to comment Share on other sites More sharing options...
Recommended Posts