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


f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|

#26656
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

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

http://www.dspaudio.com/

#79991
Jul 1, 2006 at 1:34pm

#79992
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

http://cycling74.com/twiki/bin/view/Share/TopherLafata?t=2006-04-27T17:23Z?rev=1.4

camille ;-)

#79993

You must be logged in to reply to this topic.