On Wednesday 06 May 2009 21:21:23 Zonbi wrote:
> AttributeError: 'Director' object has no attribute
> '_window_original_width'
>
>
> Any help?
>

Try adding this at the beginning of your script:
from cocos.director import director

and near the end replace these lines:
test = cocos.director.Director()
cocos.director.Director.init(test)

with this one:
director.init()


and this one:
cocos.director.Director.run(cocos.scene.Scene(PlayingLayer()))

with:
director.run(cocos.scene.Scene(PlayingLayer()))


that should do it.




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