thegooglecodearchive / los-cocos

Automatically exported from code.google.com/p/los-cocos
0 stars 0 forks source link

same layer in different scenes doesn't receive events #53

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a layer that handles on_key_press() 
2. add that layer to an scene
3. add that layer to another scene
4. run the first scene

or execute:
samples/test_transitions.py
with this line modified (139):
this:
    controlScene2 = Scene( c1, g2, control1 )
instead of this:
    controlScene2 = Scene( c1, g2, control2 )

What is the expected output? What do you see instead?
the layer shall receive the events

Original issue reported on code.google.com by ricardoq...@gmail.com on 30 Apr 2008 at 2:53

GoogleCodeExporter commented 9 years ago

Original comment by lucio.to...@gmail.com on 30 Apr 2008 at 6:49