Re: [pygame] Github Pygame Example Repository

2011-12-19 Thread René Dudfield
Sweet! I think examples are a great way to learn. A tiny feedback... pep8 for the rotation.py example? Looks like 2 spaces there, rather than 4 in that file. cheers, On Sat, Dec 17, 2011 at 7:00 PM, ANKUR AGGARWAL wrote: > I have created an pygame example repo on github to promote the > lea

Re: [pygame] Github Pygame Example Repository

2011-12-19 Thread ANKUR AGGARWAL
Thanks for your support... will do that asap :) On Tue, Dec 20, 2011 at 12:20 AM, Jeremy Sharpe < jeremy.adamson.sha...@gmail.com> 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

Re: [pygame] Github Pygame Example Repository

2011-12-19 Thread Jeremy Sharpe
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 wrote: > Nice. > > For the main game loop, I

Re: [pygame] Github Pygame Example Repository

2011-12-18 Thread Jake b
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

[pygame] Github Pygame Example Repository

2011-12-17 Thread ANKUR AGGARWAL
I have created an pygame example repo on github to promote the learning of this API. check this out https://github.com/ankur0890/Pygame-Examples-For-Learning . I created an blog post of the same on my linux blog : http:.//flossstuff.wordpress.com/2011/12/17/github-repository-for-pygame-examples/ .