Game Development Reference
In-Depth Information
What just happened?
With the
preloadEffect
method from
CocosDenshion
, you manage to preload the
files as well as instantiate and initialize
SimpleAudioEngine
. This step will always
take a toll on your application's processing power, so it's best to do it early on.
By now, the folder structure for your game should look like this: