Today was a short day, as I was experimenting with another one of the FMath methods, mainly the CInterp method. Whereas VInterpTo interpolates between vectors (good for locations!) the FLinearColor structure uses uints for the RGBA format. By accessing the Camera's PostProcessSettings's FilmWhitePoint (a god-AWFUL name for tint), one can fade the screen to red over a few seconds.
Afterwards, I set a small class for the collision box for the end, the WinBox. This one is fairly cheap, as it merely kills the player and restarts without the fading to red. The timer works as well, and is setup with a Top Score for any level that, once completed, sets it under the timer.
To top it off, a musical score was added as a sound actor; the music sounds rather snowy, so once I finish polishing the Top Score mechanic, I'll begin to look into the use of dynamic snow material for an interesting frosty-looking scene.
No comments:
Post a Comment