更新时间:2021-08-13 16:40:36
封面
版权信息
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Chapter 1. Getting Started with Scratch
Introduction
Starting up Scratch
Deleting the default sprite
Adding a custom sprite
Adding a pre-made sprite
Changing the stage background
The Hello World project
Chapter 2. Storytelling
Adding words to a sprite
Adjusting the timing
Sprites interacting with other sprites
Basic broadcasting and receiving
Resetting parts of a program
Other fun graphic effects
Chapter 3. Adding Animation
Changing sprite costumes
Switching backgrounds in a story
Adding graphic effects to backgrounds
Keyboard input to a program
Getting the mouse position
Chapter 4. Basic Gaming
Creating a moving object
Adding another ball
Object interaction with a background
User interaction with a game
Using mouse control
Keeping score
Objects disappearing
Building a maze
Using the timer
Chapter 5. Spicing up Games
Tracking the best score or time
Keeping a high score list
Adding more levels
Chapter 6. Bringing in Sound
Playing sounds
Importing a new sound
Recording a sound
Playing drums and notes
Adjusting volume
Fading volume out
Changing the tempo
Interactive note playing
Chapter 7. Integrating PicoBoards
Setting up the sensor board
Getting values from the sensor board
Working with the slider
Integrating the light sensor
Integrating the sound sensor
Measuring resistance
The sensor board button
Checking other connections
Chapter 8. Programming to Calculate
Generating Fibonacci numbers
Sieve of Eratosthenes
Creating a password generator
Other Scratch calculations
Chapter 9. Project Remixing
Importing parts of other projects
Drawing with the pen
Remixing the pen project
Appendix A. Collaboration
The online Scratch community
Creating an account
Sharing projects
Sharing Scratch 1.4 projects
Downloading projects
Index