Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

9 years ago by Joncom

This plugin let's you define animations more easily.
It also makes your code look cleaner.

Examples:
// These two statements are equivalent:
this.addAnim('walk', 0.1, [0,1,2,3,4,5]);
this.addAnim('walk', 0.1, "0-5");

// Reverse order works too:
this.addAnim('walk', 0.1, [5,4,3,2,1,0]);
this.addAnim('walk', 0.1, "5-0");

// You can chain ranges like this:
this.addAnim('walk', 0.1, [0,1,2,3,4,5,4,3,2,1]);
this.addAnim('walk', 0.1, "0-5-1");

// Seperate using commas for complex sequences:
this.addAnim('walk', 0.1, [1,2,3,4,5,0,5,4,3,2]);
this.addAnim('walk', 0.1, "1-5,0,5-2");

9 years ago by Xatruch

Thanks!

9 years ago by dmen

Sweet! Nice work Joncom.
Page 1 of 1
« first « previous next › last »