A modern 3D Java game is made up of more than just Java files; it runs on more than one operating system; it may be deployed to several platforms. Developers want a flexible way to load assets that works the same in every situation: this is why the jMonkeyEngine team introduced the AssetManager
class.
The AssetManager
API is independent of the operating system (Windows, Mac OS, Linux), the data format (straight files, JAR files, ZIP files, APK packages), or the platform (desktop, web, mobile). Using the assetManager
object, you no longer need to change the code or structure of the project to make it work on another platform.