Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Python (http://www.programmingforums.org/forum43.html)
-   -   Games you don't download (http://www.programmingforums.org/showthread.php?t=14998)

Chuckiferd Jan 21st, 2008 10:04 AM

Games you don't download
 
I have searched to see if this was already posted and got nothing but don't yell at me if this is already asked.

Does everyone played a flash game before. You know the ones you can play right off your web browser. Well is this possibal with python or must all Python games be downloaded in order to play?

titaniumdecoy Jan 21st, 2008 1:38 PM

Re: Games you don't download
 
You must have Flash Player installed to play Flash games.

Python scripts cannot be run in a browser window.

There are programs (such as py2exe) that can convert your Python script to an executable by bundling the Python interpreter with your script. These programs will dramatically increase the size of your program and may not work if you use non-standard libraries such as numpy.

Sane Jan 21st, 2008 1:56 PM

Re: Games you don't download
 
But, of course, you can use Python to generate HTML for a web browser. For example, Google does this for its help pages:

http://www.google.com/support/webmas...83&ctx=sibling

Note the '.py' in the URL.

You can make browser-based games in Python this way, if you're really ambitious. But you need to have a clear understanding of what exactly CGI is, and a fundamental grasp on how the web works, before you can tackle such a thing.

Game_Ender Jan 25th, 2008 12:01 AM

Re: Games you don't download
 
I not a Microsoft person, but Silverlight 2.0 will support IronPython so you will be able to run python in your web brower. It will basically be like a better flash.

Chuckiferd Jan 25th, 2008 3:40 PM

Re: Games you don't download
 
I will have to look into that


All times are GMT -5. The time now is 2:23 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC