[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygames on a webpage



On Jan 4, 2005, at 12:06 PM, andrew baker wrote:

On Tue, 04 Jan 2005 09:37:07 +0100, Nicola Larosa <nico@xxxxxxxxxxx> wrote:
You could embed Jython in a Java applet on a web page, and that would
be as secure as Java is. Of course, you wouldn't be able to use
pygame, because it's not pure Python.

Ah, but apparently you could now :D

http://sdljava.sourceforge.net/

Muahahahahaaaaaaa!!!!!

Unfortunately not. :-( That's an SDL binding for the Java language, still requiring the end user to have the SDL libraries, and *those* do not (yet?) come as browser-downloadable-and-executable Java applets.

That is, even having a Java *interface* to SDL, one would still need a
Java *implementation* of SDL (and in the form of browser applets, no less).


It's a start.

Not really. It would have to use Java drawing APIs rather than SDL. Presumably, no code from sdljava is going to be useful for that, since its job is to wrap SDL.


-bob