viernes, 23 de diciembre de 2016

Glide over the stage area or follow the mouse

Now glide over the stage area.

you can imaging the stage area as a grid with different values in the horizontal or x axis and vertical or y axis.
The center of this area will have values of 0 (x=0; y=0).

When you move the mouse pointer over the stage area you can see the x and y values over the sprite area.

You will use this x and y values or coordinates with the glide block.


In the next video we can see an example:

Make your sprite glide-HD from Lifelong Kindergarten on Vimeo


Or make your sprite follow the mouse pointer


Try these Scratch blocks and see what happens: