Jump to content
  • Advertisement
Sign in to follow this  
Zaku

saving python

This topic is 4281 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

how do you save things that you program in the idle into programs where you just click on the icon and the program runs?

Share this post


Link to post
Share on other sites
Advertisement
http://www.python.org/infogami-faq/programming/how-can-i-create-a-stand-alone-binary-from-a-python-script/

The above link may help.

I've used py2exe and had it work nicely.

Share this post


Link to post
Share on other sites
Note that, with the Python interpreter installed and proper associations under Windows or #!/usr/bin/python as the first line of your script under Unix-like OSes, you can just doubleclick the script icon and the program will run.

Share this post


Link to post
Share on other sites
hmmm i downloaded and installed p2exe, now what do i have to do?



also, where do i ultimately write games? in the idle?

Share this post


Link to post
Share on other sites
Yeah, at least you can (and alot of people do) write them in IDLE. There's other places too (note pad works just fine, too, but doesn't have highlighting, debugging, and other niceties).

This is a nice tutorial on how to use py2exe. There's plenty others out there, too.

Share this post


Link to post
Share on other sites
Quote:
Original post by Zaku
do u need pygame to make games?


For making basic games, then yes.

But if you want to go into core gaming, you need to interface DirectX and Python or OpenGL and Python.

This is how games like Severance: Blade of Darkness and Freedom Force have been made.

Hope it helped, bye.

Share this post


Link to post
Share on other sites
are directx and opengl both engines? are they good at making 2d games? cause im looking at that zak thing.

Share this post


Link to post
Share on other sites
Quote:
Original post by Zaku
are directx and opengl both engines? are they good at making 2d games? cause im looking at that zak thing.


DirectX and OpenGL are API's (application programmign interfaces) which form the basis of all game engines (like OGRE, IRRLICHT etc.)

Yes you can make 2d as well as 3D games using them but if you are just starting out making games using an external library would be better.

Try to google that and i am sure you will get the help you need.

Share this post


Link to post
Share on other sites
Quote:
Original post by NotAYakk
http://www.python.org/infogami-faq/programming/how-can-i-create-a-stand-alone-binary-from-a-python-script/

The above link may help.

I've used py2exe and had it work nicely.


still finding that a bit confusing...

can i get an explanation easier than that?

[Edited by - Zaku on October 1, 2006 3:28:58 PM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!