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

Revision as of 06:05, 3 June 2008

Sourcecode:

<nowiki>
<?xml version="1.0"?>
 <effect>
  <particle> 
   <emitter>
    <property name="output" value= "10" />                            <!-- We want one new particle per game tick -->
    <property name="lifetime" value= "10" />                           <!-- we want each particle to survive for 10 game ticks -->
    <property name="image" value="graphics/particles/gloworb-small.png"/><!-- We want the particles to look like white stars. -->
    <property name="position-x" min="0" max="64" />                    <!-- We want the particles to be spawned in an area 32 pixels wide...-->
    <property name="position-y" min="0" max="64" />                    <!-- ...32 pixels deep and...-->
    <property name="position-z" min="0" max="64" />                    <!-- ...32 pixels high.  -->
   </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: