AntiJcup Posted July 27, 2015 Share Posted July 27, 2015 Hey guys, I am new to the forum and rather new to phaser but I am stuck on a rather interesting bug. I am using a tilemap for my UI and like any other UI I want it to follow the camera. I use objects for buttons and then any graphics backgrounds use tiles. Well when I set the tilemap.fixedToCamera to true nothing happens. But when make each layer into a group and set the fixedToCamera to true it starts to follow the camera but not properly it starts moving off the camera in the direction the camera is moving. The first image shows when the games starts.(The camera follows the blue box) The second image shows when I moved the camera to the right (The gray box is the placeholder but it consists of tiles) If I don't set the fixedToCamera to true the gray box starts sliding off to the left. I am in chrome 44 If this isn't doable that is fine just liked the idea of being able to use tiles. Link to comment Share on other sites More sharing options...
Recommended Posts