Announcing Cocograph, a cocos2d tile map editor
This is still very alpha, but I wanted to get a release out for pyweek for people to use if they're interested. Cocograph is a tile map editor for cocos2d that uses kytten for the gui. Cocograph includes pencil, eraser, zoom, and move tools and can create new maps and tilesets without writing any xml. Ctrl clicking on a tile or cell will allow you to edit, add or delete the properties and these changes will be saved back to the orginal tileset when you okay them for tiles and will not be saved until you save the map for cells.download includes cocos 0.3, and kytten, also a version with pyglet so you don't need to install anything else. map examples from cocos and threads of fate are included (and include your license, Richard :) )
http://code.google.com/p/devdev-python/downloads/list
screenshots and documentation here:
http://code.google.com/p/devdev-python/wiki/Cocograph
There's still a number of bugs and a few planned features that are not implemented yet.
-Currently clicking outside of the map when you create a new one will mess up the event handling for on_drag (I think..) which affects the tools, but this doesn't happen when opening a map for some reason...
-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 tried using the latest revision of cocos tonight but it gave me a batchnode error about too many arguments for set_child or something so I just included cocos 0.3
Features planned for the next release:
-flood fill
-layers
-drag selection clone tool to easily clone large tile patterns
-possibly loading maps as brushes, but I think clone might be enough
-possibly creating tilesets out of an imageatlas instead of a directory of images
If anybody uses this and/or has feedback or suggestions please let me know! This is my first cocos, pyglet, and kytten project :)
Devon
p.s. Thanks to Richard and Lynx for the cocos tiles and kytten gui libraries that got me excited to spend way too many late nights working on this!
(log in to comment)
Comments
http://devdev-python.googlecode.com/files/cocograph0.1.1.zip
(I changed my mind about the versioning pattern)
http://devdev-python.googlecode.com/files/cocograph0.1.2.zip
gizmo_thunder on 2009/08/27 09:27:
look very good.. your hard work is quite clearly visible in the way the editor looks.Great work..