Problem description:
I'm having trouble finding a good combination of mouse controls that can be used to simulate swiping objects in a linear fashion. (Look up the game Ruzzle if you'd like an example.)
It would be really awesome if you could point me in the right direction to the correct set of mouse controls that I should use to make this happen. I've already tried client.MouseDown()/client.MouseUp() for checking whether the mouse is down or not in combination with MouseEntered() on the objects, but apparently those don't work very well together because MouseEntered() doesn't register if you're holding down your mouse for some reason.
Can anyone think of a work-around?
Thanks for helping! :)
Jun 27 2013, 11:29 am
|
|
MouseDrag(), my friend. ^^
|
MouseDrag() is like the mouse-down version of MouseEntered().
Forum_account's mouse position library uses both, naturally. I've used it to make an accurate click and drag system, and it works well on my tablet computer as well. client Off the top of my head, that's about how I did it. |