Open valkyrienyanko opened 4 years ago
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.
Will this do?
(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 cursor: move;
it works.
#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 auto
fixed it.
I also found out that all png
have to be 32 x 32 in size.
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.
Is that better?
Describe the feature you want added:
Cursor RPG Art?