Getting started with Pygame
17 Jan 2016 #gamedevelopment #pygame #pythonPygame intro
As with every other kid out there, I spent long hours sitting in front of the computer playing Games like Super Mario, Dangerous Dave and the likes. So when I got to know about Pygame. I was really getting the itch on creating something in the lines of these games.
Of cource, we have better game engines written in other languages like C++
, but since I liked python
. So I mean what the heck right?
Lets Get Started then shall we
Installation
Ubuntu/Debian
OS X
If you DON’T have homebrew
installed, then
If you have it installed, then
See if it works?
Open the terminal
If there is no Error on that, then you are good to go.
A simple Pygame Boilerplate
I made a dead simple Pygame
boilerplate for creating a base for your pygame
programs.
Here is the Github link for you.
A sneak peak
What can you do with this?
I created Space Shooter using this boilerplate. Here’s a demo screen for you