On Tue, Apr 7, 2009 at 2:30 PM, riq <[email protected]> wrote:
>
> @kao:
> I think we are targeting the same kind of editor. In fact we are
> including the same tile set! :-)
>
> @lucio:
> I started the toolbar. r828 contains 3 buttons: edit, camera,
> stamp. if you click on them they will activate the correct mode.
> I still need to work on a Radio Container, a generic container a,
> Check Container and separators.
>
> Hey, it the 'old space' behavior still in the editor ? I would like
> to activate it with some button but I don't know which method should I
> call.
if key == SPACE:
editor.switch_mode("stamp")
you should add that in the modes that you want to have depending on stamp.
pleaso dont add it in the main event handler.
Lucio.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---