![]() |
mouse distance from...
I am trying to make a game where at one point you have to keep the mouse cursor away from an object and if your cursor gets too close, you lose. Is it possible to do that?
|
yes
|
Question: I am trying to make a game where at one point you have to keep the mouse cursor away from an object and if your cursor gets too close, you lose. Is it possible to do that?
Answer: yes My thoughts: Awesome answer.:D My actions: are useless |
You need to do a mouse distance from left function. If you know how to do it, just think it out. Make it if distance is below 1 meter or what ever, do "lose method"
|
That makes it do the mouse's distance from the edge of the window, not the object. I am trying to figure out how to do the latter.
|
[QUOTE=DensetsuNoKaboom;21993]That makes it do the mouse's distance from the edge of the window, not the object. I am trying to figure out how to do the latter.[/QUOTE]
Oh sorry. Do the object version from cursor |
Drat, can't figure out how to do that either.
|
All times are GMT -5. The time now is 05:25 PM. |
Copyright ©2021, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.