Pass Click Event to next actor?
Posted:
Tue Jul 13, 2004 12:57 am
by Just4Fun
One of the new features is:
"Actors with Mouse Button Down or Up events disables now pass click event to next actor"
How is this done?
TIA
Posted:
Tue Jul 13, 2004 6:20 pm
by makslane
This feature is good to move actors by click on the map
You have two actors:
Actor A: your game map
Actor B: your player
Actor C: trees, clouds...
Disable the Mouse Button Down event in Actor B and C (on Create Actor event)
In your actor A, catch the mouse clicks
Now, when you click on actor B or C, the actor behind (actor A) will receive this clicks.
So, you can say on actor A: "move the Actor B to x,y..."
Posted:
Tue Jul 13, 2004 10:48 pm
by Just4Fun
Thanks Makslane,
This is a very nice feature!