• Advertisement
Sign in to follow this  

Pygame distributable?

This topic is 2618 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

I've been playing with Pygame and have some ideas for games that I would like to make. Pygame seems to be a good fit for this process, but what about distributing the games once I've made them? Not that I'm thinking of becoming a game sales powerhouse, but if I want to pass it out to family/friends, what is the best path?

-Kirk

Share this post


Link to post
Share on other sites
Advertisement

You can use py2exe to make an executable for your game and then include everything that it made with a NSIS installer so they just can install it on their own.


I had wondered about py2exe but I was concerned that the volume of dependencies coming along with Pygame would be overwhelming. Granted, I haven't tried this and I'm only speculating. Have you done this successfully?

-Kirk

Share this post


Link to post
Share on other sites
I have done it with a single python file that had included a folder with art and sound also. I am currently trying to learn how to do it with multiple python files since I am split a lot of the code into their own classes now.

Share this post


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

  • Advertisement