RibbonTrail

author:
Alex Zhang
description:
An effect of trail.
lastupdate:
2014-02-27
compatible:
v1.1
tag:
effect, particle, ribbon, trail
homepage:
http://alex-zhang.github.io/2014/03/01/ribbontrail-effect-in-starling/
download:
https://github.com/alex-zhang/Starling-Extension-Ribbon-Trail/archive/master.zip

Overview

//0 - 2 - 4 - 8 - 9
//| / | / | / | / |
//1 - 3 - 5 - 7 - 10
 
var ribbonTrail:RibbonTrail = new RibbonTrail(texture, 20);
ribbonTrail.setStarToEndAlpha(1.0, 0);
ribbonTrail.setStarToEndColor(0xFFFFFF, 0);
ribbonTrail.isPlaying = true;
addChild(ribbonTrail);

(The swf file below is big, loading might take a while!)

The Adobe Flash Plugin is needed to display this content.

Changelog

  • 2014/02/27 10:45: First public version

User Comments

Feel free to edit this part of the page!

  extensions/ribbontrail.txt · Last modified: 2015/03/11 16:56 by daniel
 
Powered by DokuWiki