Scratch Cookbook
eBook - ePub

Scratch Cookbook

Brandon Milonovich

Partager le livre
  1. 262 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Scratch Cookbook

Brandon Milonovich

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

In Detail

Scratch 2.0 is an easy to use programming language that allows you to animate stories and create interactive games. Scratch also gives you the capability of using programming to calculate complicated calculations for you.

Scratch Cookbook will lead you through easy-to-follow recipes that give you everything you need to become a more advanced programmer.

Scratch Cookbook will take you through the essential features of Scratch. You'll then work through simple recipes to gain an understanding of the more advanced features of Scratch.

You will learn how to create animations using Scratch. Sensory board integration (getting input from the outside environment) will also be covered, along with using Scratch to solve complicated and tedious calculations for you. You'll also learn how to work through the exciting process of project remixing where you build on the work of others.

Scratch Cookbook will give you everything you need to get started with building your own programs in Scratch that involve sounds, animations, and user interaction.

Approach

A practical approach with hands-on recipes to learn more about Scratch and its features.

Who this book is for

Scratch Cookbook is great for people who are still relatively new to programming but wish to learn more. It assumes you know the basics of computer operation. The methods of using Scratch are worked through quickly with a focus on more advanced topics, though readers can move at their own pace to learn all the techniques they need.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Scratch Cookbook est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Scratch Cookbook par Brandon Milonovich en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Computer Science et Object Oriented Programming. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2013
ISBN
9781849518420

Scratch Cookbook


Table of Contents

Scratch Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
More information
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Getting Started with Scratch
Introduction
Starting up Scratch
Getting ready
How to do it

How it works

See also
Deleting the default sprite
Getting ready
How to do it

There's more

Adding a custom sprite
Getting ready
How to do it

Adding a pre-made sprite
Getting ready
How to do it

There's more

See also
Changing the stage background
Getting ready
How to do it

There's more

See also
The Hello World project
Getting ready
How to do it

How it works

There's more

Adding some motion
Special sprite settings
Pointing towards the mouse
Duplicating code
See also
2. Storytelling
Introduction
Adding words to a sprite
Getting ready
How to do it...
How it works...
See also
Adjusting the timing
Getting ready
How to do it...
How it works...
There's more...
See also
Sprites interacting with other sprites
Getting ready
How to do it...
How it works...
There's more...
See also
Basic broadcasting and receiving
Getting ready
How to do it...
How it works...
The broadcast block
The receive block
More about the code
There's more...
Triggering an event with a click
Changing the background
See also
Resetting parts of a program
Getting ready
How to do it...
How it works...
There's more...
See also
Other fun graphic effects
Getting ready
How to do it...
How it works...
There's more...
Fisheye
Whirl
Pixelate
Mosaic
Brightness
Ghost
See also
3. Adding Animation
Introduction
Changing sprite costumes
Getting ready
How to do it...
How it works...
There's more

Making it dance
Checking the costume number
Switching to a particular costume
See also
Switching backgrounds in a story
Getting ready
How to do it...
How it works...
See also
Adding graphic effects to backgrounds
Getting ready
How to do it...
How it works...
There's more...
A finished message
Adding other effects
Animating the button
See also
Keyboard input to a program
Getting ready
How to do it...
How it works...
There's more...
Using better defined variables
See also
Getting the mouse position
Getting ready
How to do it...
How it works...
There's more...
4. Basic Gaming
Introduction
Creating a moving object
Getting ready
How to do it...
How it works...
There's more

The simple way
Adding another ball
Getting ready
How to do it...
How it works...
There's more...
See also
Object interaction with a background
Getting ready
How to do it...
How it works...
There's more...
See also
User interaction with a game
Getting ready
How to do it...
How it works...
Using mouse control
Getting ready
How to do it...
How it works...
There's more...
Keeping score
Getting ready
How to do it...
How it works...
Objects disappearing
Getting ready
How to do it...
How it works...
See also
Building a maze
Getting ready
How to do it...
How it works...
There's more...
Using the timer
Getting ready
How to do it...
How it works...
See also
5. Spicing up Games
Introduction
Tracking the best score or time
Getting ready
How to do it...
How it works...
There's more

Keeping a high score list
Getting ready
How to do it...
How it works...
There's more

See also
Adding more levels
Getting ready
How to do it...
How it works...
There's more...
6. Bringing in Sound
Introduction
Playing sounds
Getting ready
How to do it...
How it works...
There's more

See also
Importing a new sound
Getting ready
How to do it...
How it works...
There's more...

Table des matiĂšres