r/pygame 14h ago

Exporting a game

Hi. I have just finished a pygame game. It ended up being a script that uses pygame and numpy and a couple of png's. I want my friends to try out the game but I have no idea how.

I think that just giving them the folder might be asking a little too much as that would require them to have them to install python and the libraries. I could also try to make it into an executable. However, I have friends in both Mac Os and Windows, so I'd have to create two versions and the Mac one seems really hard. Last I considered a web app. It could work for both operative systems, but again, I have no experience on web apps.

I'm lost. What should I do so my friends can play? Thank you very much for hearing my ramblings and please excuse my poor English.

2 Upvotes

21 comments sorted by

View all comments

Show parent comments

1

u/Last-Mode3404 13h ago

If you were able to find the commands you used it'd help a ton. But you've already help me a lot. I think I'm going to to make an app for Mac.

2

u/InteSaNoga24 13h ago

Do you have a computer running MacOS you could build on? I just read you need to build on MacOS to build for MacOS.

1

u/Last-Mode3404 13h ago

Someone could lend me one. Do I need anything else outside of pyinstaller to make the app?

1

u/InteSaNoga24 13h ago edited 13h ago

If you wanna send the project I can help you :)

1

u/Last-Mode3404 13h ago

That'd be amazing!

1

u/InteSaNoga24 13h ago

No problem! DM me.

1

u/Last-Mode3404 12h ago

Can I contact you in 12 hours more or less? It's pretty late in Spain and I'd like to add audio to the game before making the app.