-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Cursor #40
Comments
What kind of style are we going for? |
Anything will go for now. |
Alright. What size should it be? (In pixels.) |
I don't know much about cursors, use your own discretion. |
Okay. |
(It's hard to see cause it's white) |
I've tried both p5.js cursor function and the traditional CSS way and neither way work for custom cursors. Nothing is showing up, but when I do something like #defaultCanvas0 { /* p5.js Canvas */
position: absolute; top: 0; right: 0; left: 0; bottom: 0;
cursor: url(../assets/test.png);
} |
Try: cursor: url('path-to-image.png'), auto; |
You can also try hiding the cursor and making an image follow where the cursor would normally be. |
Oh hey |
I also found out that all Larger sizes don't seem to work. |
Your white sword is very hard to see on the green canvas. I tried taking a screenshot but it would not screenshot the cursor with the image. |
Describe the feature you want added:
Cursor RPG Art?
The text was updated successfully, but these errors were encountered: