Motion
Realistic motion in a game comes from two sources:
- Velocity - the rate (amount) a position changes.
- Acceleration - the rate (amount) the velocity changes.
You will learn several ways to simulate velocity and acceleration by moving a variable amount or by changing your y coordinate by a variable amount.
Details: in a game, the “tick” speed is usually constant, so changing something by 2 is really the rate “2 per tick”. This means that instead of worrying about a rate of change (=amount/time) we use ticks for the time and just worry about the amount of change.
-
Notes on using Velocity and Acceleration to make a platformer game.
-
A velocity worksheet to check your understanding of how a platformer game can be implemented in Scratch.
-
(Scratch Skills Review III) List of skills and three questions about variables and detecting touch. Nice mini-projects.