I’m at the beginning of Java game development and i had only experience with c++ computer game development yet. Game i’m making now is going to be for computers via downloadable version (Win/Linux) and browser – applet version (Win/Linux), also i’d like to make it available for Android phones.
I know i’ll be having some trouble to handle both computer and android systems especially with OpenGL part, but i don’t want to add myself more work by learning many systems for game data loading.
So i’m looking for any library or system how to load game stuff like levels, textures, models that is usable with minimal differences for multiple systems – Local, Applet or Android version.
I was thinking about plain text files and images packed into jar, but i’m not sure if it is the right way and i’d like to not start doing it bad way and then rewrite a lot of code.
For Java applications & applets
URLobtained fromClass.getResource(String)Not so familiar with Android dev., but I suspect point 2. is the same ‘add them to run-time class-path’, probably access them using the
ContextorAssetManager.