Create Space Invaders on Raspberry Pi part one

Posted by Scott_Ruecker on Jun 18, 2014 2:54 PM EDT
Linux User & Developer; By Russell Barnes
Mail this story
Print this story

When you’re learning to program in a new language or trying to master a new module, experimenting with a familiar and relatively simply project is a very useful exercise to help expand your understanding of the tools you’re using. Our Space Invaders clone is one such example that lends itself perfectly to Python and the Pygame module – it’s a simple game with almost universally understood rules and logic. While the Invaders meander their way down the screen towards you, it’s your job to pick them off while dodging their random fire. When one wave is conquered, another faster, more aggressive wave appears. We’ve tried to use many features of Pygame, which is designed to make the creation of games and interactive applications easier. We’ve extensively used the Sprite class, which saves dozens of lines of extra code in making collision detection simple and updating the screen and its many actors a single-line command.

Full Story

» Read more about: Story Type: News Story; Groups: Developer, GNU, Linux, Python, Raspberry Pi

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.