Actions

Introduction to the Particle Editor

From Shoot Em Up Kit

The Particle Editor is used for creating or modifying particle systems. Particle Systems are visual effects where images move and animate. They are used for effects such as explosions, sparks, and thrusters.


The particle editor can also be used for creating bullet patterns. The speed, duration and direction of each particle can be modified, and this makes it a useful tool for creating interesting bullet patterns.


The particle editor is also useful for creating effects for items on the Front-End pages. Particle effects for bouncing, growing and shrinking, or rotating back and forth can be applied to items in the Front-End pages.


ParticleIntro1.png


You can create a new particle system or modify an existing one. Once you have chosen a particle system you will see a Tools window, a Layer window and a Properties window.


ParticleIntro2.png


The Tools window is useful for showing a grid and judging the size of the particle system.


The Layer window shows a list of layers. A particle system can have multiple layers, each with a different type of particles. For example, there could be a layer for fire, another layer for smoke, and another for embers.


The Properties window has multiple tabs. The most commonly used are the General tab, which contains the properties for how the particles are generated and how they move; and the Sprite tab, which specified which sprite will be used for the particles on the current layer.


Other tabs define how (and if) particles collide with objects in the level and the physical properties of the particle.


Particle Creation and Movement

The General tab allows you to specify whether particles are 2D or 3D. 2D (sprite based) particles are the most common.


ParticleIntro3.png


The Emitter type specifies where the particles will originate from. They can originate from a single point, like an explosion, or come from a random location on a circle or box shape. The final type is a Trail, which flows from a single point.


The Max Particles property can be used to limit the number of particles that will exist. If too many particles are created, then the older ones will be removed.


The Single Shot property selects whether the particle will only be player once, when it is triggered, or whether it will loop.


The Release Interval and Number to Release properties control how many particles are generated and how frequently.


The Velocity specifies how quickly the generated particles will move. And the Spread values control the range of directions. Particles can use a fixed spread, which is useful when you’re creating specific bullet patterns or want UI elements to animate in a predictable way. The Random Spread property controls whether the Spread angles are a random range (from -value to +value) or a fixed value.


Relative Adjustments specifies whether the keyframe scale and rotation will be applied based on their current scale and rotation, or whether it is all fixed based on the orientation of the particle emitter.


Particles can collide with items in the level or just pass through them. Ignoring collisions is more efficient but reacting to them is more life-like.


Keyframes

The Particle system uses keyframes to describe how a particle will look and behave over the lifetime of the particle. For instance, you could set the colour to be red at Keyframe 1 (i.e. when the particle is first created) and then orange 2 seconds later at the next keyframe; and then black 1 second after that at the third keyframe. When the particle is played it will blend from red to orange (over 2 seconds) and then for the last second it will blend from orange to black.


ParticleIntro4.png


You can set how long each keyframe will last; and the colour, scale and rotation of the particle.


The Rotate Particle Direction property is useful for changing the direction of the particle over its lifetime. This can be useful for simulating the effect of wind or gravity over time. This property is also useful for creating bullet patterns or UI effects.


The Velocity % and Collision Scale % properties are useful for changing the speed or the size of the collision area the particle over time. The Velocity % property can be a negative value to make the particle go backwards, which is useful for UI effects.