Jump to content

[Possible bug] changing the scale of the camera changes the camera bounds


Obliviadge
 Share

Recommended Posts

When you change the scale of the camera like this:

this.game.camera.scale.set(1.5);

It also changes the camera bounds (They get multiplied by 1.5), but this means that the camera will show blackbars on the right and bottom side. It also seems like it's not possible to change the worldbounds every update (They get automatically changed again), besides this is also not a good solution.

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...