I wanted to use director as its own class, something like
class screen(cocos.director.director):
def __init__(self, width, height):
super(screen, self).__init__(width, height)
self.run()
etc, but that does not seem to work.
Also, the docs say that director class has the same methods as
pyglet.window.Window, but I don't know how to access them.
I tried something basic like
cocos.director.director.set_icon(pyglet.image.load('icon.png')
But despite the docs basically saying that director is the same as
pyglet.window, it appears to not have the same methods at all.
--
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.