Cursor chaos
This is an excerpt from Reviving JustWizards.com
One browser limitation I think is “new” is the limitation on large custom cursors. See, scam websites would use them to make you think your cursor was where it wasn’t. By crafting a large, mostly-transparent cursor where the clicky bit isn’t where you’d expect, they could trick you into clicking things on the page when you’re actually trying to click outside the page.
To quash this, browsers now limit cursors that can exit the page to no larger than 32×32 (logical size, so on an HDPI display this may be 64×64). Unfortunately, this also applies to maximised and full screen windows, as I realised with my Sinking City Saviour game.
To work around that problem, I’ve added a 32×32 cursor as a fallback for the 128×128 one, so that it can shrink when you move your cursor to the page edges rather than entirely revert to a system cursor. It’s certainly not ideal and I hope web browsers loosen their cursor restrictions a little.
Sinking City Saviour
Quack quack quack quack quack!
Status | Released |
Author | Java Cake Games |
Genre | Action |
Tags | 2D, Arcade, duck, ducks, High Score |
Languages | English |
Accessibility | Color-blind friendly |
More posts
- References and Easter EggsJun 30, 2022
Leave a comment
Log in with itch.io to leave a comment.