I’ve got a simple 2d platformer. This game allows the player to right click to get some sort of command interface to issue commands to his minions. As he activates this, time slows down and he can direct minions to solve puzzles.
However, the longer he takes in the command interface, the darker the background should be, so as long as the command interface is active, the scene, all parts, except the command interface it self, should become darker and darker until it’s completely black.
I thought about doing something like placing a transparent mesh or such between the scene and the command interface and then slightly slowly darken it over time, making it less transparent, but have not been able to accomplish that so far. Anyone have an idea on how to do this?