Game Development Reference
In-Depth Information
Getting ready
There are two things needed before we can begin work on the ParticleEmitter:
• First of all we need a texture for the muzzle flash. This can have anything from one
to several images of muzzle flashes. The texture should be gray scaled. We'll add
color using
ParticleEmitter
.
• Secondly, we need to create a
Material
using the texture by performing the fol-
lowing steps:
1. Right-click on your project's material folder and select
New.../Empty Ma-
terial file
.
2. Select
Particle.j3md
as
Material Definition
.
3. Then select the muzzle flash texture as
Texture
.