Also how can I make a sliding door, as in a door that slides up slowly, then back down and for having buttons that activate it, could I just make another sprite, make it always center on the player and be the player's "hitbox" and have it so that whenever it collides with the button it triggers?
And last but not least, how would I be able to load the sprites and play them as animations, basically I want to be able to put the loaded sprites into different animations and be able to play them.