Page 1 of 1

How to Make an Actor Fade (easy and simple way)

PostPosted: Sat Aug 28, 2010 5:03 am
by DBGames
Ok, for an actor that you want to fade on almost any event this is the way to go...

Step 1
in your soon to be fading actor do these codes

Draw actor / script editor
Code: Select all
transp+=fade;

now, to use this code, you must create a real, actor variable in the script editor.

Step 2

any event / script editor
Code: Select all
fade*=-1;


Step 3

Create actor / script editor
Code: Select all
fade=-.05;


in my sample GED i use the mouse enter event for my fade out in step 2

Re: How to Make an Actor Fade (easy and simple way)

PostPosted: Fri Sep 24, 2010 4:08 am
by Turon
Thanks for the tutorial it was very helpful! :D

Re: How to Make an Actor Fade (easy and simple way)

PostPosted: Mon Jul 23, 2012 7:11 am
by DBGames
Hey, no problem. Two years later. wow. good to be back :)

Re: How to Make an Actor Fade (easy and simple way)

PostPosted: Mon Jul 23, 2012 5:45 pm
by Hblade
good to have you back db xD

Re: How to Make an Actor Fade (easy and simple way)

PostPosted: Sat Jul 05, 2014 7:18 pm
by Zivouhr
This is a great tip for fading out logos and so on. Thanks! Also helped me figure out how to do a day/night cycle.

Re: How to Make an Actor Fade (easy and simple way)

PostPosted: Wed Jul 09, 2014 1:24 am
by DBGames
Glad I could help! I hope everyone that's used this tutorial has made the best of it! Too be honest, I would never have thought to use this as a day/night cycle, but then again I've never worked on a game that would require it. Props on the creativity!