From The Mana World
(added sourcecode)
(fixed comments)
Line 5: Line 5:
   <particle>  
   <particle>  
   <emitter>
   <emitter>
     <property name="output" value= "10" />                            <!-- We want one new particle per game tick -->
     <property name="output" value= "10" />                            <!-- more output -->
     <property name="lifetime" value= "10" />                           <!-- we want each particle to survive for 10 game ticks -->
     <property name="lifetime" value= "10" />                        
     <property name="image" value="graphics/particles/gloworb-small.png"/><!-- We want the particles to look like white stars. -->
     <property name="image" value="graphics/particles/gloworb-small.png"/><!-- Different particle -->
     <property name="position-x" min="0" max="64" />                    <!-- We want the particles to be spawned in an area 32 pixels wide...-->
     <property name="position-x" min="0" max="64" />                    <!-- larger box -->
     <property name="position-y" min="0" max="64" />                    <!-- ...32 pixels deep and...-->
     <property name="position-y" min="0" max="64" />                    <!-- larger box -->
     <property name="position-z" min="0" max="64" />                    <!-- ...32 pixels high. -->
     <property name="position-z" min="0" max="64" />                    <!-- larger box -->
   </emitter>
   </emitter>
   </particle>
   </particle>
</effect>
</effect>
</pre></nowiki>
</pre></nowiki>

Revision as of 06:09, 3 June 2008

Sourcecode:

<nowiki>
<?xml version="1.0"?>
 <effect>
  <particle> 
   <emitter>
    <property name="output" value= "10" />                            <!-- more output -->
    <property name="lifetime" value= "10" />                          
    <property name="image" value="graphics/particles/gloworb-small.png"/><!-- Different particle -->
    <property name="position-x" min="0" max="64" />                    <!-- larger box -->
    <property name="position-y" min="0" max="64" />                    <!-- larger box -->
    <property name="position-z" min="0" max="64" />                    <!-- larger box  -->
   </emitter>
  </particle>
</effect>

</nowiki>

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current05:47, 3 June 2008Thumbnail for version as of 05:47, 3 June 2008102 × 120 (22 KB)Crush (talk | contribs)

The following page uses this file: