robbevrhst Posted November 19, 2018 Share Posted November 19, 2018 Hi, I found this example on codepen but it's written in phaser 2. I started using phaser 3 recently for a school assignment but I can't seem to figure out how to get the camera work in phaser 3. Is there someone who can help? Thanks in advance! Link to comment Share on other sites More sharing options...
samme Posted November 19, 2018 Share Posted November 19, 2018 Look at the Follow examples in http://labs.phaser.io/index.html?dir=camera/. The biggest difference is that in Phaser 3 you'll be using this.cameras.main. Link to comment Share on other sites More sharing options...
robbevrhst Posted November 19, 2018 Author Share Posted November 19, 2018 6 minutes ago, samme said: Look at the Follow examples in http://labs.phaser.io/index.html?dir=camera/. The biggest difference is that in Phaser 3 you'll be using this.cameras.main. I already looked at the examples but I don’t find the same camera system as in my example. I tried to make it work with this.cameras.main but I can’t seem to figure it out like in the example of codepen Link to comment Share on other sites More sharing options...
Recommended Posts