player input and animation now based off of game "tick"
player state "idle" added to stop animations from constantly looping.