Well,I've been pondering at this for quite some time now.Let'a get help from u guys!
Well,what I'm trying to figure out is,how to make the screen fade as seen in kajika's Shade's Adventures
thanks in advance
-Meta
ID:165753
![]() Nov 6 2006, 2:36 am
|
|
I do not mind, that's why I made it public (though I doubt I will make a hub for it, no need in my point of view..)
Just note of how the colour of the dithered icon effects the overall presentation. The icon state "1" (light grey) seems to give a misty-type of look for example, so shades do matter >_> - GhostAnime |
Yay! Just to note, I changed it around a little:
var/global/fading=0 Now all they have to do is change the parameters around a little and they can have as many iconstates as they want without having to change the overall proc. :P |
Hope you know what dithering is..
First, let's say we have 4 stages of the fade: (Nothing aka 100% dither..yes, I know this termanology is wrong -> )75% dither -> 50% -> 25% -> 0% (pure black)
Within each stage, more pixels will show and the more darker the icons will get:
Er...yeah... anyways, crappy drawing aside, please note that in each stage (except for 100% where the there's no pixels and 0% which everything is black/white [assume black for black fade-in effect]), every other pixel is coloured in. 75% would be a light-grey shade (as it's near transparency), 50% will be grey, 25% will be dark grey and 0% will be pure black.
When you draw it, it will look like it'll do no shade in effect but you'll be surprised when you test it out.
Now for a simple procedure:
When I have the chance, I'll try making an example but meh..
- GhostAnime
-------------
Edit:
Okay, I seriously don't know what I was on again... or had last night... anyways... the shades should be nearly the same (no drastic change like how I stated before with the light grey... that gives a misty type of look), a better method I found as to use a dithered black icon and use that... er here is an example (in the demo, the verb is called Quick Fade Effect):
Example can be found at http://members.byond.com/GhostAnime/files/Fade%20Screen.zip
Again, I am not sure if this is what you wanted but it is one method for a fade effect >_>