Hi,
I am an AGS beginner, and I was wondering if there is a way to do this :
- I want to change the cursors mode when it's over an object or a character. For example, when the cursor is over something that we can interact with, it turns into a hand or something else, and when it's over a window it turns into an eye, and when over a character, it just turns into a mouth. I tried to use the hotspot technic but it doesn't really work :/ because of two things :
> There is an event for "The cursor is over the hotspot" so i can change the cursors mode, but there is no event "The cursor is out of the hotspot" to make it return to its normal mode ( walk ) :/
> It's very hard to shape the hotspot just like the object. And it becomes just impossible when it's an animated character.
So is there a way to do this ?
Thanks :)
I use this.
mouse.SaveCursorUntilItLeaves();
mouse.Mode = eModeTurn;
Hi,
That's fine, i checked in the Help and that's what i want ( shame on me :( )
But i have a question, a pretty noob question, how can I program a "mouse over" event on an object ( not a hotspot ). So i can use your method.
Thanks :)
I think there is a Module that does that , you just need to look around and find it.
Hi,
It worked fine. Thanks ! :D