On Sun, Oct 5, 2008 at 12:13 AM, Thomas Woelz <[EMAIL PROTECTED]> wrote:
>
> Ops nevermind. I will just push another on_key_press handler on top
> and return True so it doesnt propagate.
>
> On 4 out, 22:52, Thomas Woelz <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> How can I remove the on_key_press function from the DefaultHandler
>> that cocos.director adds at __init__?
you can also do this:
cocos.director.director.init()
director.window.pop_handlers()
director.run (cocos.scene.Scene())
altough that way you will still have to handle escape, as pyglet is
handling that and will just quit the app. im sure there is a way to
tell pyglet not to.
lucio.
ps: yeah, i know im really late with this comments.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---