This might seem a bit simple but I'm making a 2d platform game where I want to set the image of my main character to a jumping animation image while they are airborne. Sort of similar to the original super Mario bros when you jump in that.
How would I go about doing this?