[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] java pygame



Terry,

> JyGame  (Java PyGame for Jython):
> ???? lines of Java (ask Edward Povazan for how much?).  I don't really
know
> how big this is, but I suspect it's going to be a few 1000 lines of code.
I
> also don't know Java well at all, so I'd be pretty lost. I'm okay with
Jython
> though, if and when it comes to that, and I will be happy to help there,
if I
> can (although I don't really see a PyGame port as essential for my work,
it
> would add a lot of new possibilities).

No idea how many lines :)
My plan is this ... I am using CPython to get my stuff working. When I am
done, I will port parts of PyGame to Java for what I need. Which is:
-true color rendering
-sound effects
-event handling (doh)
The code will be a Java/Python mix. Wherever I need performance (blitting)
it will be Java.

For rendering I will need to write blitting code, no big deal, at least not
for what I need now.
Wrapping mouse and keyboard events is easy in Java. I have no need for
joystick support at this time.
Sound would be limited to non streaming sounds, ok for pops and bangs as
many games have. No music however, unless Java2 is installed.

Whatever I do will be a good starting point, and as I do more with it, and
others do more with it, it will grow.

-Ed

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org