Basically you want to use high school level physics of the equation of motion (Wikipedia article).
For projectile movement, this is an important equation:
s = s₀ + v₀t + ½at²
( : , , , ).
, , 2D. . X , .
Y , - .
, , .
XNA - , :
Vector2 initialPosition = Vector2.Zero;
Vector2 initialVelocity = new Vector2(10, 10);
Vector2 acceleration = new Vector2(0, -9.8f);
float time = 0;
Vector2 position = Vector2.Zero;
public override void Update(GameTime gameTime)
{
time += (float)gameTime.ElapsedGameTime.TotalSeconds;
position = initialPosition + initialVelocity * time
+ 0.5f * acceleration * time * time;
}
, , , .