added character animation and spawn