I have a ScrollingManager with a RectMapLayer child (like the
test_tiles.py test).  On mouse press, I want to dispatch a
"MoveToCell" event to a sprite.  I need to determine which cell was
clicked in the RectMapLayer based on the screen coordinates.
get_at_pixel() seems useful, but the docs say it is in map coordinates
"unmodified by screen, layer or view transformations".

Is there an easy way to retrieve this, or do I need to extract the
modelview matrix from the layer and do the math myself?

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