KiloGram Posted April 13, 2018 Share Posted April 13, 2018 Is there a way (I'm sure there is) of expanding the world bounds and setting their coordinates and width and height properties? Otherwise the bounds stay the size of the view-port and I need them bigger. Thanks in advance. Link to comment Share on other sites More sharing options...
Lightnet Posted April 14, 2018 Share Posted April 14, 2018 There is this.cameras.main.setViewport(200, 150, 400, 300);. It took me a while to google search to find their examples which I like and hate way it display as folder. Link: https://labs.phaser.io/view.html?src=src\camera\set viewport.js https://labs.phaser.io/index.html?dir=camera/ Link to comment Share on other sites More sharing options...
Recommended Posts