On Friday 25 July 2003 10:27 am, Guillaume Laurent wrote:

> > If the pixel value is black/blue, then the user has hit a note, a stem or
> > a flag,
>
> Or a staff line...

My thought exactly.

> > If the pixel value is non-black/blue (grey/white background), then the
> > user has hit the background,
>
> Or very near the note, and we need some kind of threshold.

The pixmaps are antialiased, aren't they?  Plus if you turn it on, there's 
Chris's funky background paper thingie.  Texture would make pixel computation 
that much more annoying.

Plus I think having the landing zone be the precise size of the pixmap would 
probably be irritating.

> > Wouldn't this work and be easy to implement?
>
> Not really, that's not how the QCanvas works : it computes the collisions,
> not us.

It would also be somewhat embarrassing to go back to the technology I used 
when writing my first stupid little game for the TRS-80 Color Computer, I 
think.  :)

-- 
Michael McIntyre  ----   Silvan <[EMAIL PROTECTED]>
Linux fanatic, and certified Geek;  registered Linux user #243621
Confirmed post number: 16741      Approximate word count: 502230
http://www.geocities.com/Paris/Rue/5407/



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to