Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Pygame game, and I was wondering if there was any way to embed it into a webpage to make it easily playable, or if there is a games website that accepts Pygame games.

EDIT: I am now using Unity and am not after the answer anymore, but please answer if you want as it could help others.

share|improve this question

You could look at which provides a completely brower-based implementation of PyGame. However I do not know what external APIs PyGame uses and which are supported by Skulpt.

Edit: it seems Skulpt also has WebGL bindings so this should be very possible!

share|improve this answer
How exactly could I use Skulpt to help me embed Pygame and it's modules and assets in a webpage (sorry, I'm new to Skulpt and WebGL). Thanks – JThistle Aug 27 '14 at 19:50

While poking around looking for PyGame GUI toolkits I came across these two libraries: PyJ2D: PyJSDL:

The both seem to allow the execution of PyGame scripts in a browser, the first through Jython and a Java applet and the second through Javascript and HTML5.

I've never used either but they seem to be what you are after.

share|improve this answer
Thank you for the information, now I'm using unity so I don't need this information anymore. Thank you for the effort. – JThistle Jan 13 '15 at 12:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.