It's JavaScript's time again. Today's topic is on fading screen in and out in a scene, because for some reason, people finds it cool to implement that in game, even myself.
Well, I usually do that I was setting up the scene (like placing characters, what animation pose it should have when the game started). I don't really wanna show people the ugly side of the setting up part, so I add a fade in screen to hide those activities (which usually took 1 millisecond to carry out) in the background.