Actor recieves event 'mouse button' is 'down' issue
Guardian
Member Posts: 54
Hi guys,
I have a simple drag and drop mechanic. It would seem no matter where I press the mouse down it triggers the actor recieves 'mouse button' is 'down' event.
Is this a known bug?
-Guardian
I have a simple drag and drop mechanic. It would seem no matter where I press the mouse down it triggers the actor recieves 'mouse button' is 'down' event.
Is this a known bug?
-Guardian
Comments
The problem I am having is that no matter where I mouse down it moves the actor to the mouse pointer. i.e. I mouse down on a non-relevant actor and the 'drag and drop' actor is moved to the mouse position.
It would appear that the event is firing on just 'mouse down'. Whereas it should fire on 'mouse down' && 'mouse over actor'.
I'm using this method for my current game, and it works fine for me, so I don't think it's going to be a bug or anything, probably just something simple that got overlooked…hopefully
When All conditions are valid:
Actor receives event mouse button is down
Actor receives event mouse position is inside.
And then put the behaviors in that.
Good luck!
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Thanks for the help I had the same question