Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Note to the author: the illusion would be even better if you used the user-agent to render a system-accurate mouse cursor ;) (on macOS the real cursor is black and the fake one is white)

I've already seen sites that change the cursor's appearance, so I wasn't particularly "shocked" by that (I'm on a Mac).

However, what should improve the illusion would be to not move the cursor outside of the view area.



Pointer lock does that, though I'm not sure what all browsers support it. Chrome/Desktop does:

https://mdn.github.io/dom-examples/pointer-lock/

It's a bit odd to me that it doesn't ask for any kind of permission on Chrome, just that a user click initiates it. It does briefly pop a hint that "<esc>" will release the mouse.


Thanks for the feedback! The behavior around the edges should be improved now.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: