Make adventure game cycling mouse cursor

Get help using Construct 2

Post » Mon Sep 03, 2012 10:24 pm

I'm trying to make an adventure game, and I want the mouse cursor to be able to do three basic things (to incorporate the different verbs into the cursor like in Sam & Max Hit the Road, for example).

I want it to start out as move, then on right click become look, then on right click become use, and then on right click back to move.



I can't get it to work, however. When I delete one of the latter events it at least changes once, but the way it's set up now it doesn't change at all.

I'm sure there's something easy I'm missing but I haven't found anything specifically addressing this. As you could probably tell, I'm very new at this.

HALP
B
4
Posts: 3
Reputation: 783

Post » Mon Sep 03, 2012 10:34 pm

easiest way for doing that - not best anyway - would be to set
Global number "cursor" to 0 (not text)

Mouse: On Right button Clicked -> Add 1 to "cursor"

cursor = 1 -> set cursor to Crosshair
cursor = 2 -> set cursor to Hand
cursor = 3 -> set cursor to Normal


or maybe you need that cursor variable to be text for something else?
ImageImageImageImage
B
140
S
58
G
36
Posts: 2,547
Reputation: 31,170

Post » Sun Sep 09, 2012 2:13 am

That works fine, thanks!
B
4
Posts: 3
Reputation: 783


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest