Creating and coding enemy animation