action moveObj() { while(my) { while(my.skill2 < 100) { c_move(my,vector(my.skill1*time_step,0,0),nullvector,GLIDE); my.skill2 += 5 * time_step; // 5 = animation speed ent_animate(my,"walk",my.skill2,ANM_CYCLE); wait(1); } my.skill2 = 0; // reset animation percentage wait(-0.1); } }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de