Djangog Posted September 23, 2016 Share Posted September 23, 2016 What is the difference between canvas and screen coordinates? I notice that in some frameworks it is very important. Quote Link to comment Share on other sites More sharing options...
Chimera Posted October 16, 2016 Share Posted October 16, 2016 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.