Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Viewport scaling discrepancies

    Feedback
    2
    2
    169
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tyller_
      Tyller_ Best Forum Helpers last edited by

      I have noticed several things that are affected (or unaffected) by changing viewport size, the first thing is that the mouse x mouse y are very weirdly related to the viewport size, if the viewport width is 480, mouse x min is -240 max is 240, if itโ€™s above it at all (481, 640, or anything else) itโ€™s 480 to -480 range for mouse x, no matter what. Mouse y is linked similarly, I have some pictures demonstrating discrepancies here
      3e18645c-537d-4927-8068-bc1d008805d4-image.gif

      TLDR: Look at the mouse x mouse y reports in the picture and the viewport size to see how the mouse position reporters are not equal with the viewport size

      <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
      </div>

      1 Reply Last reply Reply Quote 0
      • info-creaticode
        CreatiCode last edited by

        @tyller_

        Thanks. We will look into this.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post