[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] running downloaded games / auto installer
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] running downloaded games / auto installer
- From: Evan Kroske <e.kroske@xxxxxxxxx>
- Date: Sat, 09 May 2009 10:12:59 -0400
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sat, 09 May 2009 10:13:08 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=gamma;        h=domainkey-signature:received:received:message-id:date:from         :user-agent:mime-version:to:subject:references:in-reply-to         :content-type:content-transfer-encoding;        bh=XxqiceLFwW741LPZSJMECGAjSUbDL8WGnl1Y86fgl38=;        b=Mn8876Fz+3ztztsT1rHJhJDMc1eqH1OOPCX4wb03VVZkcUMPuO23pllpEf9xoMf9QQ         WfLUG2i9jNEwLxO89yrxJqWk1gyJbvlbSmkvlTjXeTEuc9blvWDATfdFT3cLR0WIH9h4         uNWdVGzPagaD4Z5xU9zVPEA3q4o4Iel/Gukjc=
- Domainkey-signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=gamma;        h=message-id:date:from:user-agent:mime-version:to:subject:references         :in-reply-to:content-type:content-transfer-encoding;        b=AuTf829r6r3dA23wmyeTJ+/Ddxg6MpOYYCltDsq9P3csUuhBknFrrCbFauhWYbfmLL         /36BGqdzC1KNmBCy58CDYT4fu5XfBijiBZAfsfmdPNzZz3lfocSbz2S/1033Dj0bsxQX         UcO4UYZCCcTey78OrFk+WjbfpSfNb1tJGo27o=
- In-reply-to: <8CB9EBBD0410617-E80-13D8@xxxxxxxxxxxxxxxxxxxx>
- References: <8CB9EBBD0410617-E80-13D8@xxxxxxxxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
- User-agent: Thunderbird 2.0.0.21 (Windows/20090302)
timmcilveen@xxxxxxxxxxxx wrote:
Hi,
I know its a basic question, but when I have downloaded some games 
from the pygame site that contain various files and folders. Where do 
I need to copy these files and folders to, in order to get the games 
to run?
Just one more question. Is it possible to package a game  written in 
python with the python language, pygame and an installer that will 
install the necessary packages on a users computer - the way you would 
install a commercial game written in C++? 
Thanks.
tim
PyGame games are incredibly easy to run. For windows, you just need to 
unzip the folder, enter the folder, and double click on the start 
script. It might be titled the same as the name of the game or called 
something different, like run_main.py, Run [The name of the game].bat, 
main.py, start_game.py, or something else. Just double click on the file 
that looks important.
For Linux, you need to untar the directory, cd into the directory, and 
start the main script with "python [The name of the main script].py". If 
you can't figure out which script starts the game, just list the filed 
in the directory for me and I should be able to tell you which is the 
right one.
Evan Kroske