Skip to content

Cowa/love-snowflakes-effect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snowflakes effect for Löve

Let it snow in your Löve games

Usage

-- Scene size
width = 800
height = 600

-- Number of snowflakes
maxParticles = 50

local snow = require('snow')

function love.load()
  snow:load(width, height, maxParticles)
end

function love.update(dt)
  snow:update(dt)
end

function love.draw()
  snow:draw()
end

About

❄️ Let it snow in your Löve games

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages