We were using a snow effect in one of our apps, to set up the mood, so I decided to port it to Gideros mobile and here is the result:
Configurable Snow objectUsage is simple, include file in project and:
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
}) |
All dependencies included in example project.
Would like to get feedback, mostly on optimization and effeciency part. Seems to be running normal and probably even does not require optimization, still would like to know if I'm doing something completely wrong.
Comments
thanks for you code!
and congratulations for your site. really well done.
www.tntengine.com
@chipster123 well I use screenr.com for all my screencasts, didn't know they have issues. I'll reupload it to youtube right away.