Walking

  • Problem: how does your character walk when the user push the right arrow on keyboard?

    Algorithm:

    Step 1: start if right button on keyboard

    Step 2: turn on right

    Step 3: move

    Let's Code with Scratch

    now you can do same for left, up and down... 

    You can watch this video: