Ace Snow

About Ace Snow

Type: Lua module
License: BSD License
Supported platforms:

       

Categories:
  • Visual Effects

Gideros Ace Snow object creates a falling snowflake effect for your application window.

It is possible to set quantity and speed of flakes, and also provide image of custom snowflake. This object also provides methods to start or stop snowing and add flakes.

Package contains Ace.snow.lua and example Gideros application project.

Code example:

Snow.init({
    image = 'images/snowflake.png',
    fallingTime = 20000,
    flakeInterval = 600,
    flakeSize = 20,
    sizeDelta = 5,
    easing = easing.outSine,
    fadeOut = true,
    shrink = true,
    rotate = true,
    autoStart = true,
    parent = stage
})
				

Ace Snow video