LCD : how do i know which sprite is under my mouse ?
- getpixel solution may lead to problem with back / front order ?
- record sprites coordinates (in a coll ?!), look for matching with your
actual position : how ? coll is not easy to use in that case…
f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|
On 1-Jul-2006, at 10:20, f.e wrote:
> LCD : how do i know which sprite is under my mouse ?
If the different sprites have different colors, the most reliable
thing would be to query the pixel color at current mouse coords.
Otherwise I think you’ve got a lot bookkeeping to deal with.
————– http://www.bek.no/~pcastine/Litter/ ————-
Peter Castine +–> Litter Power & Litter Bundle for Jitter
iCE: Sequencing, Recording & |home | chez nous|
Interface Building for |bei uns | i nostri|
Max/MSP Extremely cool http://www.castine.de
u can also take a look at mxj_filebrowse of Tim Place that use java
classes to interact with LCD
C74 RSS Feed | © Copyright Cycling '74