Jump to content

Custom Cursor


KTM450SXF
 Share

Recommended Posts

Another newbie question.  I apologize in advance.  I must have a custom cursor, a rotate cursor, on a number sprites.

 

The defaultCursor property works great using standard CSS cursors, but it does not handle url (e.g. sprite.defaultCursor = "url('/images/rotate.gif') and I do not see another way of changing the cursor.

 

I saw the following thread, but I don't know how I can use CSS to set the cursor of the sprite:

http://www.html5gamedevs.com/topic/2834-set-cursor-style/

 

Thanks in advance for your help.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...