Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Python and online games

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Aluthreney   Members   

275
Like
0Likes
Like

Posted 08 October 2013 - 07:24 PM

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?


Aluthreney -- the King of sheep.


#2 KnolanCross   Members   

1974
Like
0Likes
Like

Posted 09 October 2013 - 11:25 AM

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.


Currently working on a scene editor for ORX (http://orx-project.org), using kivy (http://kivy.org).


#3 Goran Milovanovic   Members   

1104
Like
0Likes
Like

Posted 11 October 2013 - 06:11 PM

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.


+---------------------------------------------------------------------+

| Game Dev video tutorials  ->   http://www.youtube.com/goranmilovano |
+---------------------------------------------------------------------+




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.