Write your own Raspberry Pi game
Step 05 — ResponseThat tells Scratch to look out for the Up key, but now we need to assign the response. Go to the Motion category and drag the “change y by 10” block into the “if” block. If the spacebar then Up arrow is pressed, our shark now moves. You can now repeat this for the Down arrow, replacing the “change y by” value to -10.
- What's changing in the computing curriculum
- Block party: why do millions play Minecraft?
- Ebooks: the final chapter for libraries?
- The world's most powerful computers
- Rise of the code schools
- Create a Python game for the Raspberry Pi
- Develop your skills in ICT
- Buyer's guide to tablets
- BenQ MW860USTi vs SMART LightRaise 40wi
- Buyer's guide to foreign language software
- How to check your identity hasn’t been sold to the hackers
- Tim Cook: this is how much TV has changed since the 70s
- Westminster wins the .London battle
- 20 years of PC Pro: from deep pan pizza to virtualisation
- Five reasons why the Apple Watch leaves me cold
- Apple Watch, iPhone 6 and 6 Plus: Tim Cook's Apple back with a bang?
- BT Home Hub 5: how to get maximum speed
- 20 years of PC Pro: one-star reviews (including "the worst tablet we've ever seen")
- 20 years of PC Pro: our best covers
- Why we've closed the PC Pro forums