Guys is there a way to load .j3o files outside of assests folder in the project?
Ok the solution below works fine :
[java]assetManager.registerLocator(folderPath, FileLocator.class);[/java]
However there is a little problem. By implementing this approach, you only create two different assets locations for assetsManager. Therefore, if you have the same .j3o file in both the default location and the new location of assets folder, you will get the file in the default location. What it does basicly that it stores locations in an array when you call registerLocator method. By default, the array is like this: [defaultAssetsLocation]. After registration, it becomes [defaultAssetsLocation, newAssetsLocation] and when you load a .j3o, it searches the file on those locations one by one. When it matches, it returns that file. Thus, if you have two .j3o files with a same name in those locations, it will return the file in the first location which is defaultAssetsLocation. You should aware of it
This is what I understood. If there is a mistake with my point of view please inform me and us.
Thank you.