Make adventure game cycling mouse cursor

  • 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.

    <img src="http://i.imgur.com/s2No3.png" border="0" />

    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

  • 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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • That works fine, thanks!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)