1 option
Scratch programming playground : learn to program by making cool games / by Al Sweigart.
- Format:
- Book
- Author/Creator:
- Sweigart, Al, author.
- Language:
- English
- Subjects (All):
- Scratch (Computer program language)--Juvenile literature.
- Scratch (Computer program language).
- Video games--Programming--Juvenile literature.
- Video games.
- Computer programming--Juvenile literature.
- Computer programming.
- Microcomputers--Programming--Juvenile literature.
- Microcomputers.
- Physical Description:
- 1 online resource (292 pages) : color illustrations
- Edition:
- 1st edition
- Place of Publication:
- San Francisco, California : No Starch Press, 2016.
- System Details:
- text file
- Summary:
- Scratch Programming Playground is a kid-friendly introduction to coding where readers use Scratch to make their own computer games.
- Contents:
- Intro
- Title Page
- Copyright Page
- Dedication
- About the Author
- About the Technical Reviewer
- Brief Contents
- Contents in Detail
- Acknowledgments
- Chapter 0: Introduction
- Who This Book Is For
- About This Book
- How to Use This Book
- Online Resources
- Errata and Updates
- Chapter 1: Getting Started with Scratch
- Running Scratch
- The Offline Editor
- The Scratch Editor and Sprites
- The Paint Editor
- Working with Code Blocks
- Adding Blocks
- Deleting Blocks
- Running Programs
- Showing Off Your Programs
- Getting Help
- The Tips Window
- The See Inside Button
- Summary
- Chapter 2: Rainbow Lines in Space!
- Sketch Out the Design
- A. Create the Space Backdrop
- 1. Clean Up and Set the Stage
- B. Create Three Bouncing Dots
- 2. Paint the Dot
- 3. Add Code for the Dot 1 Sprite
- Explore: Directions and Degrees
- 4. Duplicate the Dot 1 Sprite
- C. Draw the Rainbow Lines
- 5. Add the Code for the Drawing Dot Sprite
- The Complete Program
- Turbo Mode
- Version 2.0: Rainbow Triangles
- Version 3.0: Two Rainbow Lines
- Version 4.0: You Decide!
- Review Questions
- Chapter 3: Maze Runner
- A. Make the Cat Walk Around
- Explore: X- and Y-Coordinates
- 1. Add Movement Code to the Player Sprite
- 2. Duplicate the Movement Code for the Cat Sprite
- B. Make the Maze Levels
- 3. Download the Maze Images
- 4. Change the Backdrop
- 5. Start at the First Maze
- C. Keep the Cat from Walking Through Walls
- 6. Check Whether the Cat Is Touching the Walls
- D. Make a Goal at the End of the Maze
- 7. Create the Apple Sprite
- 8. Detect When the Player Reaches the Apple
- 9. Add the Broadcast Handling Code to the Maze Sprite
- Version 2.0: Two-Player Mode
- Duplicate the Apple Sprite
- Modify the Apple2 Sprite's Code.
- Duplicate the Orange Cat Sprite
- Modify the Code for the Blue Cat Sprite
- Go Back to the Starting Position
- Version 3.0: Traps
- Draw a New Sprite for the Traps
- Create a Second Costume for the Traps
- Add Cloning Code for the Traps
- Modify the Orange Cat Code
- Copy the Code from Orange Cat to Blue Cat
- Cheat Mode: Walk Through Walls
- Add the Walk-Through-Walls Code to Orange Cat
- Add the Walk-Through-Walls Code to Blue Cat
- Chapter 4: Shooting Hoops with Gravity
- A. Make the Cat Jump and Fall
- 1. Add the Gravity Code to the Cat Sprite
- Explore: For All Sprites vs. For This Sprite Only
- 2. Add the Ground Level Code
- 3. Add the Jumping Code to the Cat Sprite
- B. Make the Cat Move Left and Right
- 4. Add the Walking Code to the Cat Sprite
- C. Make a Hovering Basketball Hoop
- 5. Create the Hoop Sprite
- 6. Create the Hitbox Sprite
- D. Make the Cat Shoot Hoops
- 7. Create the Basketball Sprite
- 8. Add the Code for the Basketball Sprite
- 9. Detect Whether a Basket Is Made
- 10. Fix the Scoring Bug
- Duplicate the Cat and Basketball Sprites
- Modify the Code for the Cat2 Sprite
- Modify the Code for the Basketball2 Sprite
- Cheat Mode: Freeze the Hoop
- Chapter 5: A Polished Brick Breaker Game
- A. Make a Paddle That Moves Left and Right
- 1. Create the Paddle Sprite
- Explore: Rotation Styles
- B. Make a Ball That Bounces Off the Walls
- 2. Create the Tennis Ball Sprite
- C. Make the Ball Bounce Off the Paddle
- 3. Add the Bounce Code to the Tennis Ball Sprite
- Explore: Cloning
- D. Make Clones of the Brick
- 4. Add the Brick Sprite
- 5. Clone the Brick Sprite
- E. Make the Ball Bounce Off Bricks.
- 6. Add the Bounce Code to the Brick Sprite
- F. Make "You Win" and "Game Over" Messages
- 7. Modify the Tennis Ball Sprite's Code
- 8. Create the Game Over Sprite
- 9. Create the You Win Sprite
- Version 2.0: Polishing Time
- Draw a Cool Backdrop
- Add Music
- Make the Paddle Flash When Hit
- Add an Animated Entrance and Exit to the Bricks
- Add a Sound Effect to the Brick Exit
- Add a Sound Effect to the Tennis Ball
- Add a Trail Behind the Tennis Ball
- Add an Animated Entrance for the Game Over Sprite
- Add an Animated Entrance for the You Win Sprite
- Chapter 6: Snaaaaaake!
- A. Make a Snake Head That Moves Around
- 1. Create the Head Sprite
- Explore: when key pressed vs. if key pressed? then
- B. Make Apples Appear
- 2. Add the Apple Sprite
- C. Make a Body That Appears Behind the Snake Head
- 3. Create the Body Sprite
- 4. Create the Body Sprite's Second Costume
- 5. Add the Code for the Body Sprite
- 6. Detect Whether the Snake Crashes into Itself or a Wall
- Version 2.0: Add Bonus Fruit
- Cheat Mode: Invincibility
- Modify the Head
- Modify the Body Code
- Cheat Mode: Chop Off Your Tail!
- Chapter 7: Fruit Slicer
- A. Make the Start Screen Backdrop
- 1. Draw the Backdrops
- 2. Add the Code for the Stage
- B. Make the Slice Trail
- 3. Draw the Slice Sprite
- Explore: Making Lists
- 4. Create Lists and Variables for the Slice Sprite
- 5. Record the Mouse Movements
- 6. Make a Custom Block to Draw the Slice
- C. Make the Begin Button
- 7. Create the Begin Button Sprite
- D. Make the Fruit and Bombs Throw Themselves
- 8. Create the Fruit Sprite
- 9. Make the Sliced Fruit Costumes
- 10. Add the Code to the Fruit Sprite.
- 11. Add the Code for the Fruit Sprite's Clones
- E. Make the Health Sprites
- 12. Create the Health Sprite
- F. Make the Game's Ending
- 13. Create the White Fade Out Sprite
- Version 2.0: High Score
- Cheat Mode: Recover Health
- Chapter 8: Asteroid Breaker . . . in Space!
- A. Make a Spaceship That Is Pushed Around
- 1. Create the Spaceship Sprite
- B. Make the Spaceship Wrap Around the Edges
- 2. Add the Wrap-Around Code to the Spaceship Sprite
- 3. Add the Random-Push Code to the Spaceship Sprite
- C. Aim with the Mouse and Fire with the Spacebar
- 4. Create the Energy Blast Sprite
- D. Make Asteroids That Float Around
- 5. Create the Asteroid Sprite
- E. Make Asteroids Split in Two When Hit
- 6. Add the Asteroid's Splitting Code
- 7. Add the Asteroid Blasted Message Code to the Energy Blast Sprite
- F. Keep Score and Make a Timer
- 8. Create the Out of Time Sprite
- G. Make the Spaceship Explode If It Is Hit
- 9. Upload the Explosion Sprite
- 10. Add the Code for the Explosion Sprite
- 11. Add the Explode Code to the Spaceship Sprite
- Version 2.0: Limited Ammo
- Cheat Mode: Starburst Bomb
- Chapter 9: Making an Advanced Platformer
- A. Create Gravity, Falling, and Landing
- 1. Create the Ground Sprite
- 2. Add the Gravity and Landing Code
- 3. Make the Cat Walk and Wrap Around the Stage
- 4. Remove the Ground Lift Delay
- B. Handle Steep Slopes and Walls
- 5. Add the Steep Slope Code
- C. Make the Cat Jump High and Low
- 6. Add the Jumping Code
- D. Add Ceiling Detection
- 7. Add a Low Platform to the Ground Sprite
- 8. Add the Ceiling Detection Code
- E. Use a Hitbox for the Cat Sprite
- 9. Add a Hitbox Costume to the Cat Sprite
- 10. Add the Hitbox Code
- F. Add a Better Walking Animation.
- 11. Add the New Costumes to the Cat Sprite
- 12. Create the Set Correct Costume Block
- G. Create the Level
- 13. Download and Add the Stage Backdrop
- 14. Create a Hitbox Costume for the Ground Sprite
- 15. Add the Ground Sprite's Code
- 16. Add More Wrap-Around Code to the Cat Sprite
- H. Add Crab Enemies and Apples
- 17. Add the Apple Sprite and Code
- 18. Create the Crab Sprite
- 19. Create the Enemy Artificial Intelligence
- 20. Add the Time's Up Sprite
- Where to go From Here
- Index
- Resources
- Don't Just Play Games-Make Them!.
- Notes:
- Includes bibliographical references and index.
- Includes index.
- Description based on print version record.
- Other Format:
- Online version: Sweigart, Al, author. Scratch programming playground
- ISBN:
- 9781492017523
- 1492017523
- 9781593277963
- 1593277962
- 9781593277628
- 1593277628
- OCLC:
- 950724931
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.