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

Learn how to make certain types of games and use gameEditor.

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

Postby DBGames » Sat Aug 28, 2010 5:03 am

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
Attachments
Fading Actor Tutorial.ged
(1.03 KiB) Downloaded 936 times
User avatar
DBGames
 
Posts: 113
Joined: Wed Jun 24, 2009 10:13 am
Location: Bismarck, North Dakota
Score: 8 Give a positive score

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

Postby Turon » Fri Sep 24, 2010 4:08 am

Thanks for the tutorial it was very helpful! :D
Turon
 
Posts: 862
Joined: Sun Jan 24, 2010 5:23 pm
Score: 32 Give a positive score

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

Postby DBGames » Mon Jul 23, 2012 7:11 am

Hey, no problem. Two years later. wow. good to be back :)
User avatar
DBGames
 
Posts: 113
Joined: Wed Jun 24, 2009 10:13 am
Location: Bismarck, North Dakota
Score: 8 Give a positive score

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

Postby Hblade » Mon Jul 23, 2012 5:45 pm

good to have you back db xD
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

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

Postby Zivouhr » Sat Jul 05, 2014 7:18 pm

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.
City of Rott Game created on Game Editor http://cityofrott.wordpress.com/
User avatar
Zivouhr
 
Posts: 549
Joined: Sat May 17, 2014 2:12 pm
Score: 59 Give a positive score

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

Postby DBGames » Wed Jul 09, 2014 1:24 am

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!
User avatar
DBGames
 
Posts: 113
Joined: Wed Jun 24, 2009 10:13 am
Location: Bismarck, North Dakota
Score: 8 Give a positive score


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest

cron