Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Raspberry Pi Gaming - Second Edition

You're reading from   Raspberry Pi Gaming - Second Edition Design, create, and play all kinds of video games on your Raspberry Pi computer

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784399337
Length 140 pages
Edition 2nd Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Shea Silverman Shea Silverman
Author Profile Icon Shea Silverman
Shea Silverman
Arrow right icon
View More author details
Toc

Galaga: Hyperspace


Galaga: Hyperspace is a game based on classic shoot 'em up games like Galaga and Galaxian. The goal of the game is to destroy each wave of aliens while avoiding the bullets they hurl your way. Each wave gets more and more difficult, and you can only get hit once before losing a life.

Installing and running

Galaga: Hyperspace is available in the Raspbian software repositories, and can only be played on the desktop environment using the following steps:

  1. At the command line, type sudo apt-get install -y xgalaga.

  2. To run the game, make sure you are on the desktop environment by typing startx and then pressing Enter.

  3. Once you are on the desktop, click on the menu button at the bottom-left and highlight Games. Under the sub menu, Galaga will be an option. Click on it to start the game.

Learning the controls

Here is a list of the keys that you would require in the game:

Action

Keyboard

Left

Left arrow

Right

Right arrow

Start Game with keyboard controls

K

Start Game with mouse...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image