Hey there everyone -
I’ve got a game I’m working on (the Best Game Evar 2, check my signature) that uses a dynamic classpath in order to add custom triggers to level files. Basically, each level file also has a .class file with it, and that class file is loaded in via the class loader when the level runs.
Because I’m trying to make the game available via Webstart, I need to create a resource folder where all custom user data goes. That’s no problem, but the class loader can’t find anything in the resource loader, even if I specify the path. How do I add a specific folder (System.getProperty(“user.home”) + “.bge2/LevelScripts/”) into the classpath with Webstart? I’m not sure how to put user.home in the JNLP file, either.
Thankee.
