function bounce_event() { if (event_type == EVENT_IMPACT) { while (1) { ent_animate(guard2, "death", death_percentage, 0); // "death" one-shot animation death_percentage += .05 * time_step; // 2 = animation speed for "death" wait (1); } } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de