function take_damage() { wait(1); fadered.scale_x = screen_size.x; fadered.scale_y = screen_size.y; fadered.alpha = 30; effect_sprite("spark.tga", part6, 16, player_box.x, nullvector); while (fadered.alpha > 0) { fadered.alpha = fadered.alpha - 0.5 * 3 * time_step; wait (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