Thanks a lot guys! With a few tweaks property and requires work correctly now.
Two things I notice now: 1) the _as_xml Cell properties still need the fix that RectMapLayer got, I attached a patch in the files (basically just copy paste the part from RectMapLayer _as_xml. http://cocos-discuss.googlegroups.com/web/tiles.patch?gda=PIO-bT0AAAAFeUV7E9TYDtr7KaW9tRK6KhXcgDych9C9BYM6pqSK96xOCajYCl-nUJeX8XcUaYzlNv--OykrTYJH3lVGu2Z5&gsc=w2suLwsAAAAbHZhK1Tlp8BSom1jZYBgi 2) With svn cocos, zooming in and out (scaling the map layer) seems to have broken the highlight placement, which probably means the transformation isn't registering for this: cell = m.get_at_pixel(*self.parent.pixel_from_screen(x, y)) I think this is the problem I noticed before with the trunk tools/ editor.py and svn cocos. On Aug 27, 7:07 pm, Richard Jones <[email protected]> wrote: > On 27/08/2009, at 6:40 PM, devon wrote: > > > -Saving a map will change all property types to unicode and change any > > requires filenames to absolute paths in the xml. I believe these are > > both issues with the tiles library and reported a bug about the > > property types. > > I've just committed a fix to SVN for this. I thought I'd already done > it. Sorry! > > I've also committed a fix for the filename mangling from load -> save. > Note that tiles now locates files using pyglet's resource location > mechanism rather than its own. > > Richard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
