On Wed, Apr 8, 2009 at 4:27 PM, Kao Cardoso Felix <[email protected]> wrote:
>
> Hi folks,
>
> I've implemented a second phase mouse detection on the picker. I
> filter the candidate checking if points are really inside the children
> bounding box, considering rotation and scale too. A third step could
> even check for pixel collision, but I don't know if this is desirable.
> What do you guys think?

Great. I dont know about pixel collision. it may make it imposible to
use with shadow sprites and stuff like that.


> Another improvement would be to return the children list ordered by z
> (or reverse ordered) so you could easily pick the top sprite (and
> maybe cycle between the back ones in order if the top one is already
> selected).

+1

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to