Difference between revisions of "ParticleAnimated"

From King Arthur's Gold Wiki
Jump to: navigation, search
(Created page with "<onlyinclude> Creates a particle with a number of different options. </onlyinclude> Filename is the file the particle texture will be loaded from, pos is its position, vel is its...")
(No difference)

Revision as of 15:21, 17 August 2012

Creates a particle with a number of different options.

Filename is the file the particle texture will be loaded from, pos is its position, vel is its velocity, angle is ??? - appears unused?, scale is a scaling factor on the particle size, animatespeed is how often the particle animation will be updated, gravity is how strong gravity's pull on it is, selflit determines whether the particle is a light source or not.

void makeAnimatedParticle( string filename, Vec2f pos, Vec2f vel, f32 angle, f32 scale, u8 animatespeed, f32 gravity, bool selflit )