Jump to content

Zooming on dynamic tilemap


Mursaat
 Share

Recommended Posts

Hello,

I'm using Phaser v3.11.0-beta1 (last commit) and I'm trying to use dynamic tilemap system. I don't know if this is the expected behavior, but I can't zoom in on the tilemap.

Check this example from labs.phaser.io, when you add that to line 51 :

this.cameras.main.setZoom(2);

Zoom seems to be inverted, and when I do a setZoom(1/2) I get a strange result too.

I also tried this other example, but nothing is displayed. Is that normal? I'm new to Phaser, so I'm still missing some things.

Someone who understood how dynamic tilemap works could explain it here? Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

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