Version:

Adding Ambient Particles

Adding Ambient Particles

You can use the particle system to add ambient particles floating through the air. The steps in this procedure are similar to the previous procedure.

To add ambient particles to the air

  1. On the outside of the maze, near your player character, right-click and choose Create entity.
    [Image NOT FOUND]

  2. In the Entity Inspector, click Add Component. Under Rendering, click Particle.

  3. In the Particle component’s properties, next to the Particle effects library box, click the browse () button.
    [Image NOT FOUND]

    In the Pick Particle dialog box, navigate to Game/libs/particles/.

    Select ambientfx.xml and click OK.
    [Image NOT FOUND]

  4. In the Entity Inspector, in the Particle component’s properties, for Emitters select FlyingSeeds.FlyingSeeds from the particles list.

    You now see little seeds floating slowly through the air.
    [Image NOT FOUND]

  5. Duplicate this entity (Ctrl+D) and place them in several locations around the level.

  6. Press Ctrl+S to save your level.

Next: Adding a Distance Mesh