Pygame API is an extension of SDL in python. You can create games quickly and easily using this. I recently created a repository on github named as ‘Pygame-Examples-For-Learning’ to motivate the learning of this API. This repository consists of various small demos (from hello world to the sprite demo). You can try out those using your own logic and can apply the same into large programs. It also includes a small 3 level game ‘Hungry-Snake’ . Just a contribution from my side to all the enthusiast learners out there (open source too) :) Play with the code to explore more. I will keep updating the repo in future also. You can also contribute in the same. Link to the repo : http://github.com/ankur0890/Pygame-Examples-For-Learning :) Feedback and suggestions are always welcomed :)
Tag Archive: Pygame
I started writing for Linux For You Magazine in August 2010. Since Then I have written over 10 articles for this International Magazine. Today I am providing the readers with all the links to my articles. All the work done is under Creative Common License as described in the sidebar widget also.
1. Let’s Play With Emacs CLI : This teaches you the basics of the ‘Emacs’ Text Editor. This articles was published in the Aug 2010. I published it in two parts on my blog. Click on respective part numbers to read : Part 1 Part 2 .
2. Cut and Play With Pitivi Video Editor : A tutorial on how to use Pitivi video editor to play with videos in an experimental way. It was published in the Nov 2010 Edition. Click to Read
3. Let’s Play With Gnu Screen : Tutorial about one of the greatest utility provided by GNU also know as ‘virtual terminal manager’ . It was published in Feb 2011 Edition . Click To Read
4. Get Started With Pygame Part 1 : One of my favorite series :) It teaches you the basics about the pygame API of the python module. Pygame is the python extension of the SDL with some additional benifits. This article was published in May 2011. Click To Read
5. Get Started With Pygame Part 2 : Advance knowledge about the pygame API. Includes the color play and sprites usage tutorial . It was published in July 2011. Click To Read
6. Connection To Mysql With Python and Php : Simple tutorial on how you can successfully connect mysql to your program of python or php. It was published in Aug 2011 . Click To Read
7. Recovered Deleted Files In Linux : Different ways of recovering your deleted files using utilities like scalpel , foremost etc. It got published in Sep 2011 . Click To Read
8. Let’s Play With CodeIgniter Part 1 : Teaches you the basics of the PHP based framework ‘CodeIgniter’ . This frameworks is really useful and changes the way I used to code in PHP. It follows the MVC approach. It was published in the Oct Edition. Click To Read
There are certain articles like ‘Let’s Play With VirtualBox’,’Using Nessus and Metasploit’,’Play With GUI’s In Python’ that hasn’t been published online yet . I will publish them in future on this blog and will provide you the links. So click on the links and explore the stuff :)
I have been working on the pygame API of the python from the past one month and make a small and very basic game “Hungry Snake”. Till now experience with the pygame is superb and currently I am working on the sprite sheets. I made out this game within 2 days and thanks to the online tutorials and python and pygame community for helping me out. Improvements are still required . I am releasing this game under GNU GPL3 license. Its fully open source and if anybody is interested in working with me for further improvements contact me at firstname.lastname@example.org or email@example.com. You can Download the small game code from http://code.google.com/p/hungry-snakes/downloads/list