Is there anyway to make MouseDrag() place an object based on the pixel the mouse is dragged over?
-Doh
ID:167023
![]() May 13 2006, 4:47 pm
|
|
![]() May 13 2006, 7:27 pm
|
|
i dont think you can unless you make it possible by coding it yourself...
|
The particular place I've seen this done, is Doodle. Flick said each "cell" has its own hex, but that's something I didn't understand. I was hoping someone would here.
-Doh |
the only way i know of that he did was he coded each pixel to do that and everything else you wuld need to code...
|
XxDohxX wrote:
The particular place I've seen this done, is Doodle. Flick said each "cell" has its own hex, but that's something I didn't understand. I was hoping someone would here. I'm not quite sure what you mean by "cell" and "hex". The way I would do it is use x objects per turf and offset them accordingly. Then, I think it's as simple as: client/MouseDrag(over_obj,src_loc,over_loc) |
Yes there is. Essentially you have to override the client mouse routines that use pixel positions, and store those in vars so you can use them.
Lummox JR |