Making ego disaspear

Started by Volcan, Sat 19/07/2003 03:44:02

Previous topic - Next topic

Volcan

I wish to make EGO disaspear slowly

SetCharacterTransparency(EGO,25);
Wait(80);
SetCharacterTransparency(EGO,50);
Wait(80);
SetCharacterTransparency(EGO,75);
Wait(80);
SetCharacterTransparency(EGO,100);

Unstead the game takes some time and the EGO
disaspear without seeing fade out.


Volcan

TerranRich

#1
Do what I do:

int i=0;
while (i<=100) {
SetCharacterTransparency(EGO,i);
i++;
Wait(1); // 1 for 2.5 sec fade, 2 for 5 sec, 3 for 7.5 sec, 4 for 10 sec, etc.
}

This way, EGO will gradually fade away, step by step, and quickly too. Within 2.5 seconds at best I believe. :)
Status: Trying to come up with some ideas...

Ben

Also, your game needs to be in high-color for transparency to work..

Volcan

I'll check it tomorrow.

Time to bed for me.


Volcan

Volcan

#4
Ho no! I just read the manual carfully today. SetCharacterTransparency works in hi-color only.

My game is in 256 color. All right, I'll make disaspear
the EGO somehow. Thanks everybody


Volcan

Barcik

You can always make an animation...
Currently Working On: Monkey Island 1.5

Volcan


SMF spam blocked by CleanTalk