Coding with Scratch – Create Awesome Platform Games by Max Wainewright

Coding with Scratch – Create Awesome Platform Games by Max Wainewright

Author:Max Wainewright
Language: eng
Format: epub
Publisher: In Easy Steps


Move it forward 5 steps (to the right).

If the left arrow key is pressed, run this code:

Point the cat to the left.

Move it forward 5 steps (to the left).

Check your code works. Move the cat left and right with the arrow keys.

40

Place these nested control blocks first.

19

Up and down

Add the code below to allow the cat to move up and down.

Run the code below when the green flag is clicked:

Keep repeating the code below forever:

Change the y value of the cat by the value stored in the ySpeed variable.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.