At 10:00 AM -0500 5/29/01, Chris Dillman wrote:
can you get mouse clicks with a running sprite surface?
Yes, just use the Window's MouseDown event.
or call a function like Button() // C++
Yes, System.MouseDown.
and then get the mouse X/Y...
Window.MouseX and Window.MouseY.
I do not want to run a sprite withe a thread/timer
which shares CPU time better but runs like 5+ FPS or more slower.
I highly recommend running it from a timer nonetheless.
Cheers,
- Joe
--
,------------------------------------------------------------------.
| Joseph J. Strout REAL Software, Inc. |
| joe at realsoftware dot com http://www.strout.net |
`------------------------------------------------------------------'
|