Game Development Reference
In-Depth Information
With regards to
AssetManager
, we don't have to add an entry for
Music
objects, since
that class is relatively lightweight and its internal resources are not reusable like
SoundBuffer
. If we were to use
Music::openFromMemory()
to load our music
files, we would add these resources to the asset manager as well. However, this option is
rarely used, since loading the whole file is memory expensive.
Now, it's time to look at sound in 3D.