[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Github Pygame Example Repository



Thanks for your support... will do that asap :)

On Tue, Dec 20, 2011 at 12:20 AM, Jeremy Sharpe <jeremy.adamson.sharpe@xxxxxxxxx> wrote:
Good stuff.

Looking around your repository, be careful not to include *~ and .pyc
files in your repo.

(To get rid of them permanently, delete them from the repo, and then
add *~ and *.pyc to your .gitignore.)

On Sun, Dec 18, 2011 at 12:32 PM, Jake b <ninmonkeys@xxxxxxxxx> wrote:
> Nice.
>
> For the main game loop, I like to do:
> while not done:
>     # ...events , draw...
>     if pressed[K_ESC]: done = True
>
> # to allow smooth exit / save game state / cleanup if needed.
>
> check out : pygame.Color() http://www.pygame.org/docs/ref/color.html
>
> You can post your code on the site, with a link to your repo.
> http://www.pygame.org/tags/tutorial
> --
> Jake