Great! Let's go straight to something a bit trickier ...
You found the answer but it took a lot of blocks. Do you want to see if you can do it with just
You can go to the next puzzle by pressing
Oh dear! Use the blocks to move Sophie exactly 100 pixels forward and choose whatever colour you like.
Oh no, you have hit an asteroid! Sophie the Astronaut cannot land on those.
On her space walk Sophie notices that her jetpack is leaking a bit of smoke, leaving a trail in space. We can use this trail to draw some shapes in space! We've got some new blocks to think about:
This block moves forward the amount typed in the box. So if you type in 50, Sophie will move forward 50 pixels.
The colour block changes the colour of the smoke that comes out of Sophie's jetpack.
Can you start by drawing a coloured line 100 pixels long? Drag these blocks from your toolbox into your workspace to add it to your code. To run your code, press the
For more help about using your toolbox and workspace, take a look on the home page.
Oh no, Sophie's gotten lost in space! Try to keep her in sight by staying inside the box.
You've got two functions with the same name! Check the names of your functions carefully and change them to be different.
Uh-oh ... You're calling a function that does not exist! Check your code.
Week 5: Smoke functions
Draw a line and movie Sophie forward by attaching your code to the 'Start here' block. To run your code, press the 'play' button.