On Mon, Jan 5, 2009 at 4:28 PM, Lucio Torre <[email protected]> wrote:
> This game has a nice built in 2d map editor. Its not tiled, and it looks 
> great.

The editor is simply awesome! I feel a little stupid now for have
never figured out some of the stuff they do by myself, like the
lighting and shadow effects being just some nice and simple images.

Anyway, this is a nice model to follow when building a level editor
tool and it seems to be easy to map to a cocos2d scene structure.
Maybe a level editor like that one would be a nice tool for cocos2d to
have. What do you guys think?

A good start could be a text based format for describing cocos2d
scenes. I'm not very fond of xml, but maybe it's the way to go in that
case. Something like:

<scene>
   <layer class="ColorLayer" color="#FFDD00" />
   <layer>
     <sprite image="foo.png" x="10" y="10" />
   </layer>
   <layer>
     <sprite image="bar.png" x="10" y="10" />
   </layer>
</scene>

The class="ColorLayer" thing also could be defined as a tag itself
like <colorlayer>. Anyway, is just a *very* obvious idea that probably
someone already thought about. Anyone else thing this could be nice?

-- 
Kao Cardoso Félix

Página pessoal: http://www.inf.ufrgs.br/~kcfelix
Blog: http://kaofelix.blogspot.com

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