mazoku Posted December 5, 2018 Share Posted December 5, 2018 I updated a game to the latest Phaser 3 and now the zoom from the config object is no longer working. And I cant find anything on it in documentation. How is the Phaser 3 way to scale a game now? The example don't scale. http://labs.phaser.io/view.html?src=src\game config\scale\scaled canvas.js&v=3.15.1 Link to comment Share on other sites More sharing options...
samme Posted December 5, 2018 Share Posted December 5, 2018 phaser/issues/4048 Link to comment Share on other sites More sharing options...
mazoku Posted December 6, 2018 Author Share Posted December 6, 2018 The problem is from 3.12, now its 3.15? So no fix going? Or will it be removed as a feature? Its sad to see no consistency between versions. Link to comment Share on other sites More sharing options...
samme Posted December 6, 2018 Share Posted December 6, 2018 It is sad but it was removed because it wasn't working in all cases, and it will be replaced by a feature in the upcoming ScaleManager. I think it was intended as an experimental feature, it just wasn't labelled that way. You can emulate it pretty easily: https://github.com/photonstorm/phaser/issues/4048#issuecomment-432160600 Link to comment Share on other sites More sharing options...
mazoku Posted December 8, 2018 Author Share Posted December 8, 2018 Breaking backward compatibility as always just shows low esteem for people using the engine. Link to comment Share on other sites More sharing options...
Recommended Posts