更新时间:2021-07-19 18:17:28
coverpage
Scratch 2.0 Game Development HOTSHOT
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Blowing Things Up!
Mission briefing
Creating a new project
Starting scripts
Adding targets
Creating a parabolic shot
Creating a landscape
Mission accomplished
Hotshot challenges
Chapter 2. Beating Back the Horde
Creating a background
Creating enemies
Creating cannons
Fighting back
Increasing the horde
Adding a base
Limiting resources
Winning the game
Chapter 3. Start Your Engines
Drawing a racetrack
Creating a kart
Building keyboard controls
Using a collision mask
Dealing with collision events
Adding a second player
Finishing the game
Chapter 4. Space Age
Starting with the starter project
Adding scripts to Spaceship
Updating enemy sprites
Adding scripts to Spaceship Ammo and Enemy Ammo
Adding scripts to Shield and Shield Life
Meeting your Game Manager
Adding levels – three simple steps
Chapter 5. Shoot 'Em Up
Creating a player character
Creating an enemy
Adding enemy patterns
Shooting those baddies!
Creating background images
Using parallax scrolling to simulate depth
Adding scores and power-ups
Tweaking and balancing
Chapter 6. Building a Worthy Boss
Sending a message
Adding a test script
Creating the boss
Creating attack pattern 1
Creating attack pattern 2
Creating attack pattern 3
Making the boss more impressive
Defeating the boss
Chapter 7. Creating a Level Editor
Planning the level map
Drawing the level tiles
Preparing the tiles in Scratch
Creating a level generator
Creating a character
Creating a goal
Adding a bomb item
Adding the bomb effects
Hotshot challenge
Chapter 8. Dungeon Crawl
Adding a knight
Adding a ghost
Creating a sword
Creating a bow and arrow
Tying up loose ends