Jesse Aldridge
10-17-2006, 02:36 PM
Ok first some background...
My game framework is in the Java language. I'd like to be able to make both online, browser playable games and seperate, downloable games. For the online versions I'd like to use Flash. I don't want to use applets mainly because 1.) Portals rarely take them and 2.) The Java Plug-In load time can be excruciating on a slow computer. For a seperately download game I don't want to use Flash because 1.) I prefer working in Java, and 2.) Flash has no hardware acceleration.
igLoader is not an option (for now). Too expensive, and they'd still have to download the plug-in (it wouldn't "just go").
Now my question is...
How can I get the best of both Flash and Java? Right now, I'm thinking the best thing would be if I could take my high level framework - coded in Java - and "bind" it to seperate low level implementations in Flash and Java. For example I could have a Sprite class that handles movement and animation and stuff and then have it call a drawBitmap function that could map to either a Java or a Flash implementation. I've heard of this being done (mixing languages), but I have no idea how to go about it. Is this really possible? Can anybody point me in the right direction? And just how difficult would it be to pull off?
Thanks.
My game framework is in the Java language. I'd like to be able to make both online, browser playable games and seperate, downloable games. For the online versions I'd like to use Flash. I don't want to use applets mainly because 1.) Portals rarely take them and 2.) The Java Plug-In load time can be excruciating on a slow computer. For a seperately download game I don't want to use Flash because 1.) I prefer working in Java, and 2.) Flash has no hardware acceleration.
igLoader is not an option (for now). Too expensive, and they'd still have to download the plug-in (it wouldn't "just go").
Now my question is...
How can I get the best of both Flash and Java? Right now, I'm thinking the best thing would be if I could take my high level framework - coded in Java - and "bind" it to seperate low level implementations in Flash and Java. For example I could have a Sprite class that handles movement and animation and stuff and then have it call a drawBitmap function that could map to either a Java or a Flash implementation. I've heard of this being done (mixing languages), but I have no idea how to go about it. Is this really possible? Can anybody point me in the right direction? And just how difficult would it be to pull off?
Thanks.