• Complain

Sloan Kelly - Python, PyGame, and Raspberry Pi Game Development

Here you can read online Sloan Kelly - Python, PyGame, and Raspberry Pi Game Development full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2019, publisher: Apress, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Sloan Kelly Python, PyGame, and Raspberry Pi Game Development
  • Book:
    Python, PyGame, and Raspberry Pi Game Development
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2019
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Python, PyGame, and Raspberry Pi Game Development: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Python, PyGame, and Raspberry Pi Game Development" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Sloan Kelly: author's other books


Who wrote Python, PyGame, and Raspberry Pi Game Development? Find out the surname, the name of the author of the book and a list of all author's works by series.

Python, PyGame, and Raspberry Pi Game Development — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Python, PyGame, and Raspberry Pi Game Development" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Sloan Kelly Python PyGame and Raspberry Pi Game Development 2nd ed - photo 1
Sloan Kelly
Python, PyGame, and Raspberry Pi Game Development 2nd ed.
Sloan Kelly Niagara Falls ON Canada Any source code or other supplementary - photo 2
Sloan Kelly
Niagara Falls, ON, Canada

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/978-1-4842-4532-3 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-4532-3 e-ISBN 978-1-4842-4533-0
https://doi.org/10.1007/978-1-4842-4533-0
Sloan Kelly 2019
Standard Apress
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject to proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication, neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or omissions that may be made. The publisher makes no warranty, express or implied, with respect to the material contained herein.
Distributed to the book trade worldwide by Springer Science+Business Media New York, 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

For Annamarie

Introduction

This book is intended for anyone who wants to learn how to program games. It is ideally suited to students who want to learn Python and PyGame on their Raspberry Pi. While not necessary, this book has been oriented toward the Raspberry Pi computer.

The Python programming language is ideally suited to beginners and experts alike. The skills you will learn in this book are easily transferable to other computer languages too.

If you are unfamiliar with the Raspberry Pi, there are several good eBook guides on getting started including mine called A Slice of Raspberry Pi , available from all good eBook retailers.

This book assumes that you are familiar with the Raspberry Pi computer and that you have the Raspberry Pi Foundations recommended Raspbian operating system installed. Raspbian is a distribution of the Debian Linux operating system built specifically for the Raspberry Pi. This distribution contains all the Software Development Kits (SDKs) including one for Python that includes PyGame. If you dont have Raspbian installed, you will have to ensure that you have Python and PyGame installed on your system.

Dont have a Raspberry Pi? Not to worry, you can still learn Python and PyGame. The code in this book will work on other OSs with Python and PyGame installed; Python is a platform-independent language.

You can obtain more information and download versions of Python from www.python.org . PyGame can be obtained from www.pygame.org/ .

Sprites from Ari Feldmans SpriteLib have been used for the projects contained in this book.

How This Book Is Organized
The book is organized into chapters covering the following:
  • Introduction to the Python language

  • Containers in Python

  • The IDLE IDE

  • Introduction to PyGame library

  • Designing your game

  • User-defined functions

  • File input/output

  • Object-oriented design and programming

  • Model View Controller design pattern

  • Finite state machines

  • Interfacing with electronics

There are five projects that produce complete games, all the code and resources for which are on the web site www.sloankelly.net/ . The five games are
  • Bricks

  • Snake

  • Invaders

  • Copycat

  • Couch quiz

Throughout the book are lines of code that you can type in to tell the computer to perform actions, or to add text to a file. In the book, these lines will appear like this:

print 'hello world'

Python uses white space characters, notably tabs, to denote blocks of code. Because this is an eBook and it is not possible to know how tabs will be rendered on your device, white space is very important to Python, so remember to use the tab key to indent the lines exactly as written like so:

name='Sloan'
if (name=='Sloan'):
print ('Hello', name)

The line that starts with print has been indented using the tab key.

OS commands that are to be typed into a command window like Terminal will be preceded with a $ sign:

$ ls -al
There are screenshots and other graphics throughout the text to illustrate output, but when it is just text it will appear in a box like this:

This is output from a command.

It can appear on one or more lines.

Finally, anything important will appear in a note formatted like this:

Take note of this message

Acknowledgments

I would like to thank Divya Modi, Spandana Chatterjee, and the entire team at Apress for giving me the opportunity to write the second edition of this book. A special thank you to Divya for keeping me in the loop throughout this process. I would also like to thank John Watson for the feedback that he gave while reviewing the text.

Thank you also to Eben Upton who gave us the little machine we will use to make games and explore electronics with and to Pete Shinners for starting PyGame and the community for keeping it going. Finally, a huge thank you to Guido van Rossum for designing the excellent Python language that you, dear reader, are about to learn and enjoy.

Table of Contents
About the Author and About the Technical Reviewer
About the Author
Sloan Kelly
has worked in the games industry for nearly 12 years He has worked on a number - photo 3

has worked in the games industry for nearly 12 years. He has worked on a number of AAA and indie titles and currently works for an educational game company. He lives in Ontario, Canada, with his wife and children. Sloan is on Twitter @codehoose and makes YouTube videos in his spare time.

About the Technical Reviewer
John Watson
is a game developer artist guitar player husband and father Among Johns - photo 4

is a game developer, artist, guitar player, husband, and father. Among Johns many software-powered side projects, hes building a Raspberry Pipowered device that generates interactive music in live modern dance performances. Hes also developing a retro-inspired 2D twin-stick arcade shooter called Gravity Ace. You can follow his progress on Twitter @yafd or at gravityace.com. Stop by and say hi!

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Python, PyGame, and Raspberry Pi Game Development»

Look at similar books to Python, PyGame, and Raspberry Pi Game Development. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Python, PyGame, and Raspberry Pi Game Development»

Discussion, reviews of the book Python, PyGame, and Raspberry Pi Game Development and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.