lcd sprites how to

Jul 1, 2006 at 8:20am

lcd sprites how to

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
> >>>>>>
> >>>>>> |sublime music for a desperate people|

Jul 1, 2006 at 10:19am

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.

Bonne chance,

————– ————-
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

Jul 1, 2006 at 1:34pm

Jul 3, 2006 at 10:42am

u can also take a look at mxj_filebrowse of Tim Place that use java
classes to interact with LCD

camille ;-)


You must be logged in to reply to this topic.