'Tis the season to spice up your derma!

Some developers don’t have the knowledge on how to add snow effects to their panels, others know how to but are too lazy. Lets show players how cool derma is this holiday!

Here’s a function you can use on your derma frames or panels to add snow with ease! Example use:
DFrame:SetFestive() – draws snow
– or
DFrame:SetFestive(x, y, width, height) – draws snow at x, y and is set to the width/height given (relative to panel)

The snow can be deactivated by players with the simple convar change “enable_snoweffect 0”.

Here’s what the snow looks like: (ignore the right side of the panel)


Happy Holidays!

Best thing since that library for drawing rainbows. 10 / 10.