Sign in to follow this  
Aluthreney

Python and online games

Recommended Posts

Aluthreney    275

Quick question: I'm learning python with the intention of playing around with pygame in the near future. I understand that python can be used in website development, but can I build a game with python (along side pygame) and place it on a website in a similar fashion to flash games?

Share this post


Link to post
Share on other sites
KnolanCross    1974

Not with pygame.

Panda3d uses python and has a browser plugin, but people would have to download it in order to play (which many are not very likely to do).

 

If you want to focus on browser games you should look for another engine, one that can create the game as a flash application or uses HTML 5.

Share this post


Link to post
Share on other sites

You can build games with Python, but you can't post them on the web, as you would a Flash game.

 

... Well, at least not yet, but there are efforts to compile Python (and other languages) to a JavaScript subset; I'm thinking of things like Emscripten.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this