Book Image

Raspberry Pi Gaming

By : Shea Silverman
Book Image

Raspberry Pi Gaming

By: Shea Silverman

Overview of this book

Table of Contents (16 chapters)

Preface

Hi! Welcome to the wonderful world of the Raspberry Pi. In a few short years, the Raspberry Pi has amassed a rich diversity of software, cultivated by its incredible community.

In this book, we are going to explore the entertainment capabilities of the Raspberry Pi. From programming your own video games, to reliving classic moments with your favorite game systems, I'm positive Raspberry Pi gaming will help you unlock the capabilities of your device.

What this book covers

Chapter 1, Getting Started with the Raspberry Pi, will explain the various differences between the Raspberry Pi models, show you how to set up an SD card for use in your device, and finally how to hook up your Raspberry Pi.

Chapter 2, Scratch, will introduce the programming language and programming concepts required to build a game. By the end of this chapter, you will have made two games reminiscent of Flappy Bird and Ping Pong.

Chapter 3, Raspberry Pi Gaming Operating Systems, guides you through the different operating systems that are dedicated to video gaming. These distributions have been specially set up to offer a fun out-of-the-box experience.

Chapter 4, Emulators, explains the various gaming consoles that are available to be emulated on the Raspberry Pi. You will also learn how to access the Raspberry Pi App Store and use the built-in software repository.

Chapter 5, Ported Games, shows you how to install and use games that were originally for other systems but have now been reprogrammed to run on the Raspberry Pi.

Chapter 6, Linux Games, explores those games that are native to the Linux operating system.

Chapter 7, Controllers, will introduce and explain the world of controllers, gamepads, and arcade sticks, and how they can interface with the Raspberry Pi. You will also learn how to hook up your favorite console game pads to your Pi.

Chapter 8, Troubleshooting, will guide you through the common issues that crop up when utilizing a Raspberry Pi.

Appendix, Games List, provides you with a list of the native Linux games that are available in the Raspbian repositories.

What you need for this book

You will need:

  • A Raspberry Pi

  • An SD card (4 GB or higher)

  • A computer running OS X, Windows, or Linux

  • A network connection

Who this book is for

If you are someone who loves to play games and are interested in learning more about the capabilities of your Raspberry Pi, this book is for you. Basic knowledge of Raspberry Pi programming is expected.

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "In the command prompt, type startx to launch the desktop environment."

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

  1. Run sudo chown pi /opt/retropie/configs/all/retroarch.cfg.

  2. Then run cd /opt/retropie/emulators/RetroArch/installdir/bin.

  3. Finally, run sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg.

Any command-line input or output is written as follows:

mc.setBlock(player.x +1, player.y, player.z, block.GOLD_BLOCK)

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "After clicking on Connect, you will be asked to log in as Registered User or as Guest. Choose Guest."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or disliked. Reader feedback is important for us as it helps us develop titles that you will really get the most out of.

To send us general feedback, simply e-mail , and mention the book's title in the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide at www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Downloading the color images of this book

We also provide you with a PDF file that has color images of the screenshots/diagrams used in this book. The color images will help you better understand the changes in the output. You can download this file from: https://www.packtpub.com/sites/default/files/downloads/9337OS_ColoredImages.pdf.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you could report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the Errata Submission Form link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded to our website or added to any list of existing errata under the Errata section of that title.

To view the previously submitted errata, go to https://www.packtpub.com/books/content/support and enter the name of the book in the search field. The required information will appear under the Errata section.

Piracy

Piracy of copyrighted material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works in any form on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at with a link to the suspected pirated material.

We appreciate your help in protecting our authors and our ability to bring you valuable content.

Questions

If you have a problem with any aspect of this book, you can contact us at , and we will do our best to address the problem.