30-09-2007, 01:30 AM
I wanna use a custom cursor in my game. How do I go about changing that? I know William has it in K2H.
Hm..
|
30-09-2007, 01:30 AM
I wanna use a custom cursor in my game. How do I go about changing that? I know William has it in K2H.
30-09-2007, 03:01 AM
I believe there's a "cursor" property for the forms that can achieve this.
30-09-2007, 03:27 AM
It's right by the icon one isn't it?
30-09-2007, 01:00 PM
Well, I know you can do..
frmMirage.MousePointer = 99 ' 99 = custom cursor frmMirage.MouseIcon = LoadPicture(App.Path & "\GFX\cursor.ico") But I dunno if I gotta make the color around it transparent first in the program or not. Also, it wasn't centered, and the icon I made is 16x16, and it ended up being huge in th game.
30-09-2007, 01:07 PM
It needs to be 32x32 and you need to make it transparent in the icon program.
Quote:Robin:
30-09-2007, 01:43 PM
Robin Wrote:It needs to be 32x32 and you need to make it transparent in the icon program. William helped me with it. I got it working. Didn't have to be 32x32, and yes I had to make it transparent in Photo Shop.
30-09-2007, 01:44 PM
Mhh, I've always had to make it 32x32 to make the actual pointy bit be where the pointy bit of the cursor is.
Quote:Robin:
30-09-2007, 01:48 PM
Robin Wrote:Mhh, I've always had to make it 32x32 to make the actual pointy bit be where the pointy bit of the cursor is. Just make the pointy bit of the custom icon point directly center of the image itself. That way, the icon can be w/e size you want it.
30-09-2007, 02:25 PM
That's what I just said.
But I needed it to be 32x32 to fit a 16x16 pointer into it ![]() Quote:Robin:
30-09-2007, 02:27 PM
Robin Wrote:That's what I just said. Yes, but you said that it has to be 32x32. I was just saying that it doesn't have to be that exact size. |
« Next Oldest | Next Newest »
|