Pointer object

New releases and general discussions.

Post » Tue Nov 03, 2009 4:53 am

Okay, I'm not sure it's a good idea to create a new topic just for that but, the others look so full that I wasn't sure I should post in them.

I just want to say that a pointer object that allows to change the pointer of the mouse should be really great. It could also be an improvement to the already-existing "Mouse & Keyboard" object, so there would be no need to create a brand new object for that.

Kan
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Tue Nov 03, 2009 5:28 am

Mouse behavior perhaps?
Btw there is a command to hide the pointer in mouse & keyboard.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Tue Nov 03, 2009 10:36 am

Sprite for custom pointer appearance, slap mouse behaviour onto it and there you have it.
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Tue Nov 03, 2009 5:45 pm

Does that click as good as a cursor?

Kan
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Tue Nov 03, 2009 7:55 pm

If I'm not mistaken it's essentially the same as:
Always:
>sprite set position to mouse x,y
Although the devs say all the behaviors take time delta into account.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Wed Nov 04, 2009 12:26 am

Well, I meant, on a cursor, there is a hotspot. It's that part of the cursor that click.
Will the hotspot of the sprite become the hotspot of the pointer if I set the sprite with Mouse Movement and if I make invisible the real mouse pointer?

Kan
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Wed Nov 04, 2009 3:56 am

I believe the hot spot is used, yes. Or you can use, an image point, or just x,y coords with other methods.
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Fri Nov 06, 2009 2:31 pm

Well, it doesn't really work. For example, there is no way to get the sprite-pointer forward a button.

It would really be better with a real cursor, with a real cursor hotspot.

Kan
B
11
S
3
G
3
Posts: 206
Reputation: 2,379

Post » Fri Nov 06, 2009 6:52 pm

Not sure what you mean.
You do know you can place the hotspot wherever you like, right?
Image Image
B
161
S
48
G
89
Posts: 7,347
Reputation: 66,249

Post » Fri Nov 06, 2009 8:45 pm

[quote="newt":2u4swwd9]Mouse behavior perhaps?
Btw there is a command to hide the pointer in mouse & keyboard.[/quote:2u4swwd9]

I always use that method but it would be cool to change the look of the mouse, not to make a sprite that replaces it.
B
2
G
3
Posts: 51
Reputation: 952

Next

Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 0 guests