Team Spartan Cookies & Milk Forums
Release Snow Library (for devs) - Printable Version

+- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk)
+-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html)
+--- Forum: Starfall (https://teamscm.co.uk/forum-7.html)
+--- Thread: Release Snow Library (for devs) (/thread-2522.html)



Snow Library (for devs) - Red The Blue Color - 26-11-2017

Lets add some Christmas cheer to your SF screens
Found in my shared can be added to any code.

Example usage

--@name Snow HUD/Screen
--@author RTBC
--@highres
--@dependency STEAM_0:1:28479052 lib/snow.txt cl

if CLIENT then
Setup(150)--Amount of snow particles
hook("render","rendersnow",function()
render.clear()
--Your code here
drawSnow()-- at the end Smile
end)
end

I didn't make the original snow moving but i changed it and added some stuff to optimize it and make it work on starfall Smile

[Image: ezgif-4-832a9ccde0.gif?dl=1]