antoine Posted December 15, 2014 Share Posted December 15, 2014 Hi, I've made a simple world which is larger than the screen, set the camera to follow the player, easy and works great. Now I'd like to add a static background (or foreground) layer, so they should not move when the camera changes position. How to do that? Thanks, Antoine Link to comment Share on other sites More sharing options...
XekeDeath Posted December 15, 2014 Share Posted December 15, 2014 You will want a Phaser.Image with fixedToCamera set to true.Add this image to the game world first to put it behind everything. valueerror 1 Link to comment Share on other sites More sharing options...
antoine Posted December 22, 2014 Author Share Posted December 22, 2014 Thanks, works perfectly. Link to comment Share on other sites More sharing options...
Recommended Posts