added player movement and attack animation