Monday, May 28, 2007

Etoys lunar lander

The tutorial for the lunar lander is here (download pdf)



This involves creating a yspeed variable and then writing scripts for a motor (which is controlled by the inbuilt Etoys joystick - great feature, which will appeal to kids), for gravity and for the landing process (which works by colour under detection)

The final scripts look something like this (click on image for a closer look):



It's great fun manipulating the joystick to control the speed of descent.

No comments: