ID:157428
Mar 12 2010, 4:06 pm
|
|
I was wondering if it were possible for me to click in pixel based areas and have an image appear at those coordinates, and how to accomplish this. Also, would the pixel base of it lag the game?
|
Mar 12 2010, 4:24 pm
|
|
http://www.byond.com/ members/?command=reference&path=client%2Fproc%2FClick
|
In response to Garthor
|
|
Er, yes, I looked at this reference before posting. I'm just an idiot. Still unclear. Sorry.
|
In response to Speedro
|
|
That entry says:
params: other parameters including mouse/keyboard flags, icon offsets, etc.; see mouse control |
Clicking, by default handles pixel data through the extended arguments that are now a part of every mouse proc.
So no, it adds no additional communication to any mouse proc. Where additional communication comes into play, is defining mouseEntered/Exited procs, and MouseUp/MouseDown procs on certain atoms. Look into the Mouse Procs for how to use the extended arguments. |