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

Re: [pygame] pygame applets



campbell barton wrote:
It would ROCK if you could run pygame in a web applet, pygame could
then function like Shockwave (Macromedia Director) Pygames could be
played on the net without any plugins? (as long as the viewer has
java)
i've been thinking about pygame applets. one new feature in python2.3 is the ability to import python modules from inside ZIP archives. i was thinking with this it wouldn't be too hard to put an entire game inside a ZIP file. using an alternate extension (PYG?) would make it simple for the pygame installer to also install a little "stub" executable that would run the game.

getting the game to run in an embedded window would still be a bit of work, and i don't think really worth it? but getting a "click here to play" kind of thing would be a cool enough trick.

since its easy to load images right out off the web in pygame, a 'game loading' screen could come up pretty quick before the game got really going.

anyways, it's a cool idea. i don't think it would apply to all the games out there, but it would be neat for the smaller ones. i was going to examine this after python2.3 was really out. if i can get it running smooth then i'll add the stubs and support into pygame. it wouldn't be hard to make a "pygame runtime" package for windows users either. we'd just have to decide on some subset of the python standard lib to include.



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