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?

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).

-- 
Kao Cardoso Félix

Página pessoal: http://www.inf.ufrgs.br/~kcfelix
Blog: http://kaofelix.blogspot.com

--~--~---------~--~----~------------~-------~--~----~
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