Skip to navigation
Tutorial

Write your own Raspberry Pi game

Start position

Step 06 — Start position

To make the left and right arrows work, repeat steps 4 and 5, but replace the “change y by” block with the “change x by” block and set the values -10 and 10 respectively. Finally, our star needs a start position. Grab the “go to x: 0 y: 100” block from Motion and drag it into the place shown. Change both values to 0.
 
Subscribe to PC Pro magazine. We'll give you 3 issues for £1 plus a free gift - click here
Be the first to comment this article

You need to Login or Register to comment.

(optional)

advertisement

Latest Features
Latest ReviewsSubscribe to our RSS Feeds
Latest Blog Posts Subscribe to our RSS Feeds

advertisement

Sponsored Links
 
SEARCH
Loading
WEB ID
SIGN UP

Your email:

Your password:

remember me

advertisement


Hitwise Top 10 Website 2010
 
 

PCPro-Computing in the Real World Printed from www.pcpro.co.uk

Register to receive our regular email newsletter at http://www.pcpro.co.uk/registration.

The newsletter contains links to our latest PC news, product reviews, features and how-to guides, plus special offers and competitions.