Jump to content

Canvas vs Screen Coordinates


Recommended Posts

  • 4 weeks later...

Can you explain the context or the frameworks you are taking this form?

The canvas is the screen. The canvas and screen coordinates are one the same generally. You could have a world or map that is larger than the canvas, in which case the canvas coordinates are referring to what is visible on the screen. Think of the canvas as the player camera, what is visible and being rendered to the player. Objects and events can exist outside of the canvas. 

If you start playing around with the canvas and create a ball or rectangle which moves in any direction and eventually is no longer visible because it went off screen. That ball or rectangle still exists and continues to move further and further away, it is just not visible to the canvas.

Not sure if that is what you are looking to hear or not. Might need more context into what you are referring to if you need a more specific answer. 


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.

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.


  • Recently Browsing   0 members

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