The highlight on the editor is offset to the left by 1 cell + ~30px or
so from the correct cell under the cursor, at least on my computer
(win xp, python 2.6 ,pyglet 1.1.3, cocos2d latest trunk).

I don't know anything about opengl, but commenting out self.transform
in the draw method of TileEditorLayer and it aligned correctly...
until I started scrolling around the map, of course the highlight
started scrolling too.

So I think something is misbehaving in between
TileEditorLayer.transform() and glRectf?



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