Applet Game Engine
Anonymous
Tuesday, June 12, 2012 - 19:01
I need someone with OpenJDK, FireFox and a Linux box to help test some engine code: http://github.com/MagiMaster/unnamed-applet-engine
Thanks in advance.
I need someone with OpenJDK, FireFox and a Linux box to help test some engine code: http://github.com/MagiMaster/unnamed-applet-engine
Thanks in advance.
Can you do me a favor and set up a webpage that runs the applet?
Thanks,
Bart
I have to remember how to organize all the files to get it to run outside NetBeans. I keep getting policy errors.
Well, I can't remember how to set things up to run locally. I'll look in to it, but unless someone else has any ideas, it might take a while. (I added a directory that seems to be correctly organized though.)
The applet on this page was written with this engine though: http://larc.unt.edu/ian/research/clutter/
Ok. I'll probably need some help sorting this out. It used to work, but something seems to have changed and I can't tell if it's me or Java. (It used to be that an applet could open files in its own directory, but unless I missed something, that doesn't seem to work anymore.)
I think changing things around so that it compiles everything into a JAR file should help, but I don't feel up to tinkering with the engine right now. If anyone knows any easier ways around this, let me know. Otherwise I'll try changing things around later.
Okay. I'm probably not the best person to ask about this, since I don't do any Java development myself and wouldn't really know where to start.
Would anyone else reading this be willing to jump in and help out?
@Anonymous: It had been sometime since my last Java project but last time I wrote an applet that requires local access, I needed to sign it. Most people would accept your self signature if you give some details about it on your website.
To the OP: I'd be glad to help you set up and answer any doubts regarding Applet deployment on IRC (Ping Nushio)
http://webchat.freenode.net/?channels=liberatedpixelcup
In the meantime, I leave you with the official "Java Deployment Advice"
http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_ad...
Applets should be able to read files from their own directory without being signed. I'm trying everyhting possible to avoid needing to sign things.
Well, I think I have all the major bugs worked out. The engine is meant for general use, so anyone interested in making a Java game is free to use it. (I added a helper class to allow you to compile it into a standalone application if you don't want to make an applet.)
I suppose I should add some of this info to the README (and put the GPL in).