streamer Posted November 1, 2014 Share Posted November 1, 2014 Hi,after upgrating to latest Phaser v2.1.3 performance in camera.follow rapidly drops...Here is a example... Test steps: - after load click on "HRAJ"("hraj" means "play" in slovak language)- you will be forced to fullscreen- use your keyboard arrows and walk around with character Whats wrong? When camera is moving with character performance of app rapidly drops!!!This is not a problem in Phaser 2.0.7 but all version up to 2.0.7 are affected with this Expected behaviourIn phaser v2.1.3 it should camera.follow performance fast as it is in Phaser v2.0.7 CAMERA FOLLOW IS FAST - v2.0.7This link using v2.0.7 - it's fasthttp://www.peteroravec.com/ CAMERA FOLLOW IS EXTREMELY SLOW - v.2.1.3This link load Phaser 2.1.3 - and on camera follow its extremely slowhttp://www.peteroravec.com/?phaser213=true Code is the same but different versions of Phaser, any suggestions? Thanks for support Link to comment Share on other sites More sharing options...
UgnisKarolis Posted November 1, 2014 Share Posted November 1, 2014 Try using a dev branch of phaser and if that does not help, make an isolated test case and submit it to github issues. For sidescrollers in new versions of phaser you can set:game.camera.roundPx = false;This will remove the jaggedness but will not fix the slowdowns on camera.follow. Link to comment Share on other sites More sharing options...
Recommended Posts