Apathy Posted June 16, 2014 Share Posted June 16, 2014 I wanted to know if it is possible to load assets after the begining. For example before a level load a image only used in this level. And how to unload it after the level ends. Quote Link to comment Share on other sites More sharing options...
enpu Posted June 16, 2014 Share Posted June 16, 2014 Sure, take a look at this example: http://www.pandajs.net/snippets/9adc8186791129fc59c4.html Quote Link to comment Share on other sites More sharing options...
Apathy Posted June 16, 2014 Author Share Posted June 16, 2014 Tnx for fast reply like always. I added it but it throws a error. Uncaught exception Duplicate audio source <name of audio> This error lists all the audio assets which i have added at the beginning, not in the new loader. Quote Link to comment Share on other sites More sharing options...
enpu Posted June 16, 2014 Share Posted June 16, 2014 Are you using latest Panda version?Can you show your full code? Quote Link to comment Share on other sites More sharing options...
Apathy Posted June 16, 2014 Author Share Posted June 16, 2014 I didn't have the new version. Now its ok tnx. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.