4ucai Posted November 26, 2013 Share Posted November 26, 2013 Hi guys, I have many tilemap layers on the game. Is is possible to scale them? to have a zoom in/out effect?My tile size are 32x32 and I wish to look at the world at say 16x16 tiles during zoom out. Mike Link to comment Share on other sites More sharing options...
jcs Posted November 26, 2013 Share Posted November 26, 2013 TilemapLayers derive from Phaser.Sprite, so they have a 'scale' property that you can modify Link to comment Share on other sites More sharing options...
rich Posted November 26, 2013 Share Posted November 26, 2013 You can scale them, but I'm not too sure how robust it is as the moment! Try it and see. Link to comment Share on other sites More sharing options...
jcs Posted November 27, 2013 Share Posted November 27, 2013 yeah, nothing good comes of it, in my cursory test if I scale layers that don't interact with the sprites (no collisions), nothing much happens - no visible differenceif I scale layers that *do* interact with the sprites, the visible tiles and the collision handling no longer match c'est la vie Link to comment Share on other sites More sharing options...
4ucai Posted November 27, 2013 Author Share Posted November 27, 2013 I see, thanks for the reply. Much appreciated Link to comment Share on other sites More sharing options...
Recommended Posts