2. Factors in the game
The Mass
The Spring
The Angle
Gravity
3. Exploring Velocity
There are two kinds of velocity existing in this
game. It is the Horizontal Velocity and Vertical
Velocity.
The Horizontal Component is constant, which
means there are no force acting on the bird
Horizontally. (Rovio developers probably ignored
air resistance)
The Vertical Component on the other hand is
subject to the acceleration due to gravity, g,
pulling the bird down to Earth.
4. Example
If we say that the vertical velocity is v m/s
upwards at the point of launch, then a short time
later.
Let's say 1/10 of a second, the vertical velocity
will be (v-1) m/s. (The reduction in velocity is 1/10
of 10 m/s2)
Another 1/10 of a second later the vertical
velocity will be (v-2) m/s, and so on.
5. Go to distance
The distance travelled horizontally is simply the
constant horizontal speed component multiplied
by the time.
Vertically, there are a couple of ways we can
calculate this: a step-wise algorithm, or by using
the relevant kinematics formula.
6. Alternative way
- Using parabola
Here is basic of Parabola
This graph has vertex of
(0,0) and it has equation of
y = x2
7. Alternative way
- Using parabola
You can place the graph
in the game play
It creates parabola
graph, which is the path
that the bird will fly
8. Alternative way
- Using parabola
Or you can flip the screen
to fit the graph with
equation of y=x2