Tutorial
How to write your own computer game
Step 08 — Make the crab chase the character
Now we're going to make the crab chase the child. Select the crab sprite in the bottom-right corner and select the commands shown above from the Control and Motion menus. Note that the Forever command wraps around the actions to create a loop, meaning the crab will keep chasing the boy until you press the red stop button. We've changed the move steps from 10 to 2 to slow the crab down. Click the green flag to go.From around the web
advertisement
Latest Features
- The ultimate guide to passwords
- How Apple lulls Mac owners into a false sense of security
- Privacy - outdated luxury or public necessity?
- Building the bionic man
- The making of open-source software
- Top 10 stupid security stories of 2011
- 10 techs to watch in 2012
- PC Pro's favourite tech products of 2011
- 10 most read articles on PC Pro in 2011
- 50 ways to make your PC better
- Chrome's shine getting lost in translation
- BytePac: the cardboard hard disk enclosure
- How tech loosens our grip on reality
- Hokum watch: Safer Internet Day
- Why I'm deleting Adobe from my PC
- Prepare to be patronised: it's Safer Internet Day
- Dear Sony, Samsung and every other tech company in the world: stop trying to be Apple
- Will Apple's Final Cut Pro X update placate the pros?
- Smartr Contacts for iPhone review
- Switching to Office 365's Outlook Web App
advertisement
Sponsored Links












