Hi,
As I really appreciate the forthcoming integration of applets support in JOGL (based on the Sun trusted certificate), I think it would be nice to generalize this approach to a subset of currently “untrusted” API calls in order to enhance java online gaming without relying on self certificates (or even on trusted certificates that might not be apreciated by online players).
What I’d like to have is a set or sun certified jars (like jogl.jar) used as middleware for java game dev, which could provide :
- access to joal/jinput (ode ?) from applets (same stuff as the “jogl applet” currently in dev)
- access to a single local drive directory for game installation/state saving. The access would be granted in the same manner as an installer (“where does the game should put its files ?”) and the API would deny access to any other file location.
- access to a network API allowing games to rendez-vous/communicate (TCP/UDP) with each other, without being able to connect elsewhere (the API should provide a GUI listing possible connection adresses with registered gamers user identities, and would deny contacting any other host).
- access to full screen/rez change after prompting the user with a standardized window.
These APIs would allow java games developers to cover a broader range of games types without risking the security of the players.
And of course, Sun (or java.com) would provide a web page detailing these features, showing examples of JWS/JPI security warnings that our websites could link to in order to gain the confidence of our potential players.
The user experience would become :
- hey, let’s have a look at this new online/downloadable game
- I’m on the game web page, and there’s a link to java.com/.../extended_gaming_api.html describing what will happen when I start the game
- I download/start the game, and there’s a security warning dialog, looking exactly like the one of java.com, let’s trust it !
- the game begins, provides an installer for local files, explaining it will not be given access to any other part of the filesystem : I accept
- the game shows the “rendez-vous” standard dialog, and I login and connect with my friends
- I play and enjoy this game : java is great for online gaming, and my antivirus software is happy with it !
What do you think of it ?
Lilian
p.s : if someone from Sun thinks it’s a good idea, but lacks the resources to develop it, I’ll be willing to do it contractually and provide the product to Sun’s gaming team for approval and integration.