Hi,

On Mon, Feb 16, 2015 at 6:49 AM, Alessandro Re <[email protected]>
wrote:

> Hello,
>
> I'm sorry because this is a cross-post, but I noticed too late that
> stackoverflow.com is not really the best place for cocos2d-python, so
> I'll ask here because it feels more appropriate.
>
> I'm using cocos2d in python3. I created a simple example, which basically
> is a merge of samples/hello_world.py and samples/handling_events.py, and
> just visualize a moving text while also checking for events.
>
> Problem is: events are processed basically randomly while the animation is
> in progress: sometimes, pressing ESC, the program stops after few instants,
> sometimes it doesn't stop. Pressing the keyboard usually doesn't show
> anything in the text, but if you press a lot of keys maybe you get a couple
> to get visualized. Same with the mouse: if you move or click a lot,
> sometimes you see the event processed.
>
I don't see that on win xp , pyglet 1.2.0, both py 2.7 and 3.3

You see that unresponsiveness only when an animation is playing ?

It work as expected if you don't instantiate nor add the layer HelloWorld ?


Can you try the pure pyglet translation pasted at
http://pastebin.com/W5vLtubk ?


> I can't understand what's happening: isn't cocos supposed to process the
> events before every rendered frame? Am I missing something?
>

What you see is not normal

-- 
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cocos-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to