KorGE

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Change/Hide Mouse Cursor?

    Support
    2
    2
    39
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      PsionMage last edited by

      In a game I'm making, I don't want to use the default mouse cursor. Currently I'm following the mouse position with an image, which works ok except the mouse cursor obscures the image (since it's in front).

      A way to make it invisible or (more likely to be useful to everyone) allow me to specify the cursor with an image would be awesome.

      I searched a bit and couldn't find any references to this ability, but perhaps I missed it?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • soywiz
        soywiz last edited by

        On HTML5, you cannot hide the cursor completely except when the mouse is down AFAIK.
        korge-next already has support for changing the cursor to a predefined one and hiding the cursor while the mouse is down.
        We can try to support custom cursor images. Just created this issue: https://github.com/korlibs/korge-next/issues/28

        1 Reply Last reply Reply Quote 0
        • First post
          Last post