| | 246 | |
| | 247 | |
| | 248 | == Backlight == |
| | 249 | Backlights are a simple light source in a level. You can specify the colour and size of the light. |
| | 250 | {{{ |
| | 251 | #!xml |
| | 252 | <Backlight position="0,0,0" scale=1.5 colour="0.9, 0.4, 0.0" width=7 length=500 lifetime=0.3 elements=20 trailmaterial="Trail/backlighttrail" material="Examples/Flare" loop=1 /> |
| | 253 | }}} |
| | 254 | |
| | 255 | == ParticleEmitter == |
| | 256 | Particle emitters are WorldEntities that run a particle effect. Define their position using the "position" attribute. The "source" attribute defines which particle effect is executed. All Orxonox particel effects are stored in the data/particle folder. |
| | 257 | {{{ |
| | 258 | #!xml |
| | 259 | <ParticleEmitter scale=5 position="100, 0, 0" source="Orxonox/thruster3" lifetime=2.0 loop=1 startdelay=0.0 /> |
| | 260 | }}} |
| | 261 | Take a look at the classes ParticleEmitter and ParticleSpawner to learn more about how particel effects work in Orxonox. |