4-26 Draw shapes

by nwangana1
See Code Download Embed
1. Press the 1 key to draw a square on stage. 

2. Press the 2 key to draw a triangle. 

3. Press 3 to draw a Diamond. 

4. Press 4 to draw a pentagon. 

5. Press 5 to draw a parallelogram. 

6. Press space to clear the stage. 

7. To reset your position press the a key. 

(Note : For parallelogram you might want to move your sprite up north to see the shape better. And for diamond you might want to move your sprite to the left when you reset your position. ) 

Created April 26, 2024

Last updated May 1, 2024

Published April 26, 2024