Hello Everybody,
I want to add some custom cursor to my game, but on walkable tiles, it seems that it's not possible. Maybe OpenSpace is overriding or preventing this kind of feature. On non walkable tiles, it works (talk to NPCs for example).
Please answer me as soon as possible, we should release the game by the end of the week.
Thanks in advance.
Implementing Custom Cursor (URGENT!)
thanks, I thought about it, but the custom cursor system I created is very generic, with classes extending MovieClip, and Singleton for storing specific cursor assets, so it is not really what I wanted.
I just wanted to understand, why a rollover event on a MovieClip used as a skin on a walkable tile was not working, whereas it does on non-walkable tiles.
Could you give me an answer to this last question, please?
I just wanted to understand, why a rollover event on a MovieClip used as a skin on a walkable tile was not working, whereas it does on non-walkable tiles.
Could you give me an answer to this last question, please?
ffourcad wrote:thanks, I thought about it, but the custom cursor system I created is very generic, with classes extending MovieClip, and Singleton for storing specific cursor assets, so it is not really what I wanted.
I just wanted to understand, why a rollover event on a MovieClip used as a skin on a walkable tile was not working, whereas it does on non-walkable tiles.
Could you give me an answer to this last question, please?
The reason is that another invisible movieclip is placed on walkable tiles above the skins, so it catches the mouse event before the skin does.
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team
there are some tiles on the street, on which i can walk, and where I have some garbages. when I drag my mouse over the garbage, I'd like to have a special cursor appearing (a grab icon instead of the mouse).
Then when I click on the garbage, the avatar goes to this tile, and the garbage disappear, as if he had picked it up.
Now the tile is empty, but still walkable of course.
In this scenario, I can't get the rollover event i have put on the garbage MovieClip, nor get the openSpace skinRollOver event, nor get the click on the garbage.
Then when I click on the garbage, the avatar goes to this tile, and the garbage disappear, as if he had picked it up.
Now the tile is empty, but still walkable of course.
In this scenario, I can't get the rollover event i have put on the garbage MovieClip, nor get the openSpace skinRollOver event, nor get the click on the garbage.
Return to “OpenSpace v2 discussions and help”
Who is online
Users browsing this forum: No registered users and 15 guests