Particle Effect Sample (5.2)

Crank Storyboard Designer samples and code snippets.

Moderator: jamiev

Particle Effect Sample (5.2)

Postby thomas » Mon Mar 05, 2018 3:39 pm

All,

We have had a few different customers ask for various particle effects for Storyboard. While these could be created directly within the engine, it is also possible to craft a particle system entirely using Lua in the same way that Javascript can be used for a particle system based on HTML5/Canvas.

Using the source from:
* http://buildnewgames.com/particle-systems/

As a reference, I've adapted the Javascript code to Lua and applied it to work in a Storyboard canvas. The Storyboard 5.2 canvas doesn't have quite all of the features of the HTML5 canvas but it has enough to allow you to do some interesting things.

Hope that you find it interesting.

Thomas
Attachments
ParticleSample.zip
Particle Sample Project
(87.52 KiB) Downloaded 113 times
thomas
 
Posts: 133
Joined: Mon Nov 02, 2009 4:32 pm
Location: Ottawa

Return to Samples

Who is online

Users browsing this forum: No registered users and 1 guest

cron