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

What is Scratch?

Scratch is a programming language and application developed by the Massachusetts Institute of Technology (MIT) as an easy-to-use, educational, and fun environment to learn to code and to make video games and applications. It is different from most other programming languages. It is completely visual; rather than typing out lines of code, all you have to do is drag and drop visual blocks to create your program.

Games that might have taken days to be created earlier can be created in minutes, right in front of your eyes. Now, you are going to create some games too!

Understanding the Scratch interface

Before we begin writing our first game, you need to understand the Scratch interface. Scratch is not only a powerful programming language, but also a full-featured application. To write Scratch programs use the following steps:

  1. Open the Scratch application. This is included on all copies of the official Raspberry Pi operating system, Raspbian.
  2. In the command line, type startx to...
You have been reading a chapter from
Raspberry Pi Gaming - Second Edition - Second Edition
Published in: Feb 2015
Publisher:
ISBN-13: 9781784399337
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