Jump to content

How to zoom in and out the full tilemap from center in phaser?


Recommended Posts

you can also put your stuff in a group - and you scale that group.

so you create a group by doing `game.add.group()`

then you put your sprites in it. then that group you set it's scale, your sprites will mass zoom in and out.

Note that you can do this in the game.world too. but what's nice about having each group is that for example yo have a texts or a minimap and you don't want those included in the zooming process.

Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...