added animation states, level spawning