Quote from: GarageGothic on Wed 17/02/2010 16:45:44
Check out the Tween module, it lets you do non-blocking fades without worrying about scripting your own timer.
I don't know if I'm ready to spoil myself with modules yet. Maybe after I've messed around with it some more, I'll give it a try. Thanks for the suggestion, I've saved the link.
EDIT:
Hey, check it out, it works now. I just moved the Jiva commands is all.
function die() {
StopMusic();
PlayMusic(5);
cJiva1.ChangeRoom(player.Room, player.x, player.y);
cJiva1.Walk(Random(340), 0, eNoBlock, eAnywhere);
int trans = player.Transparency;
while (trans < 100) {
trans++;
player.Transparency = trans;
Wait(1);
}
gDead.Visible = true;
gDead.Centre();
mouse.Mode = eModePointer;
}
It looks great, thanks guys.