Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


Python and online games


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   -  Reputation: 256

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.


Sponsor:

#2 KnolanCross   Members   -  Reputation: 1368

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   -  Reputation: 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.



PARTNERS