Hey all,
In a game I’m working on I want to be able to serve downloadable content, and I figure one of the best ways of doing that without having to recreate the main JAR is to make use of javac to compile class files on the fly (at least for logic updates).
I’m just wondering if anybody has done this with an Applet before and how they’ve done it? In a local application I would just be saving the class file to their disk somewhere and then would execute it as normal, but the whole sandbox thing makes it all more difficult.
Would it make more sense to just have like a DLC.jar that is only class files and I can update as I want without the user having to see it?
Overall I’m pretty much a noob when it comes to applets, and I’m trying to change that. So thanks in advance for the help and advice.