> > This sounds as importing cocos particles before the window creation. Are > you sure the call to director.init is before your import of > cocos.particle_system ? >
> Can you post a short script that demostrates the problem ? > Yep, everything works fine without the line "import cocos.particle_systems". Importing this module along with everything else, ie. at the top of the file, causes the error. *However, when I import the module AFTER director.init it works! *So if I import and use the module during the creation of one of my objects, say, the program runs. * * This is very odd. This is certainly not how it is supposed to work. How did you get to asking the this question? (ie. how do you know to call director.init before importing the module?) It certainly isn't in the tests or the documentation. -- 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.
