When dx/dy are used, they equal 3,3.1 and 2.9 (and their negatives) randomly. Why do they change randomly and why do they not equal 1 when they have magnitude of 100? This seems very arbitrary and unintuitive
Is this about the Browser Events mouse Dx and Dy? It’s probably because it’s taking the raw input from your mouse, so it’s not perfect. I would just truncate the number and code something to ignore it if it’s less than, say, 5 or something. I don’t think it would be better for Makecode to fix that because it would be less precise.
No. I’m talking about the dx and dy in the controller section which changes based on button presses