"Velocity" is in other words "speed". "Y velocity" or "y speed" means the vertical movement rate of the sprite.
Offline
Velocity is something you will have to program into your project. X means position in the right or left direction, while Y means position up or down. Velocity is how much the position of something changes for each "time step".
So: you could program a sprite to move a certain amount each time that a "forever" loop occurs. The sprite would change its "X" by X_Velocity and its "Y" by Y_Velocity each time thru the loop. (Y_Velocity is just a variable name that I've chosen, you could call it anything you wanted.)
Gravity makes an object increase in its "Y Velocity" unless something is preventing it from falling. If you walk across a mountain, the ground below you keeps you from falling and your "Y Velocity" remains Zero. If you walk off the edge, and no longer have anything to stop your Y Velocity from being increased by gravity, you fall, as illustrated by unfortunate "GravityGuy":
http://scratch.mit.edu/projects/EdnaC/70385
-Mr Ed
Last edited by EdnaC (2007-12-21 08:38:14)
Offline