Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I like the snowflakes coming down. How did you do that?

(2 edits) (+1)

For the snow i made particles each having random fall speed(y movement) and drift speed(in x direction) and provided each with a wobble altitude and  frequency and called update for the wobble effect using sin function. Each particle also has a random lifetime. For style used array to store the different draw function and selected the style at random