Gamestates and character movement