I want to capture a Flick touch event in Update method. In there, I increment the Figure in Y direction, for example 70. When drawing, the figure get drawn like jumping. How do I make it so it looks like doing animation? Note that I want to do this in a Flick event instead of multiple VerticalDrag events.
Update(GameTime...)
{
...
case GestureType.Flick:
figure.rect.Y += 70;
...
}
Draw(...)
{
...
spriteBatch.Draw(..
...
}
Thanks a lot!
Answer has been provided in the comment of the question by Cicada. Thanks!