if(key_w) { ent_animate(player, "run", run_speed, ANM_CYCLE); } if(key_s) { ent_animate(player, "walk_back", walk_speed, ANM_CYCLE); } if(key_w == NULL && key_s == NULL) { run_speed = 0; walk_speed = 0; ent_animate(player, "stand", stand_speed, ANM_CYCLE); }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de