Unit 4. Final Project Example, Level 1

Moving smiley

Notes

Step by Step Guide

In this final project example we apply linear motion (up, down, left, right) to the smiley face we drew in previous activities. We also add interactivity:
To change the direction of the smiley`s motion, press the following keys: j for left, l for right, i for up, and k for down. If you only a greenish rectangle, please refresh this page.

Sketch

Code