void fadein(ENTITY *e, var seconds) { var ticks = seconds * 16; reset(e, INVISIBLE); e.alpha = 0; while(e.alpha < 100) {e.alpha = minv(e.alpha + 100/ticks * time_step, 100); wait(1);} }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de