On Sat, 11 Oct 2008, Kao Cardoso Felix wrote:
> I created a very simple and small script to generate a tileset from an
> image file and given tile dimensions. It runs as a command line tool
> and it generates the .xml file defining the tileset for the given
> parameters. If anyone finds it could be useful I can add it to the
> tools dir on cocos svn. I'm planning on improving it soon to support
> more tweaking on the way the image  atlas is divided like spacing
> between tiles, offsets from image corners, etc.

Cool! Adding automatic border generation would be a really nice feature.

I think we need to have the current tile code raise a warning if the cocos 
director window isn't initialised with the do_not_scale_window=True flag. Not 
setting this results in horrible border artifacts pretty much regardless of 
how careful you are with sprite borders (unless your sprites always have a 
generous alpha=0 border like all of the cocos demo/test sprites do, but 
unlike text glyphs and tiling images).

I'd argue that the current window scaling should be ditched altogether :)


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

Reply via email to