You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<dd>Returns a "PIXI Particle Emitter" which is a particleContainer with a built-in <strong>step()</strong>
98
96
function to progress the animation. The different attributes of the container specify how the particles
99
97
are emitted.</dd>
98
+
<dd>An object can optionally be passed in to specify life, speed, direction, and spread, where the attributes are the associated values, for example, {life: 30, speed: 0.5, direction: Math.PI, Math.PI * 0.5}.</dd>
100
99
<ddclass="return">Pixi Particle Emitter</dd>
101
100
<dd>.life = how far the particles can move away from the emitter's location, in pixels (default 128)
102
101
<br>.speed = quickly the particles move to their end of life distance (default 1)
103
102
<br>.direction = specifies the direction (in radians) that the particles will move (default 0)
104
-
<br>.spread = the angle (in radians) of how closely particles should follow the direction. 0 is no deviation, 2 PI is in a full circle (default is 2 PI)
103
+
<br>.spread = the angle (in radians) of how closely particles should follow the direction. 0 is no
104
+
deviation, 2 PI is in a full circle (default is 2 PI)
105
105
<br>.step() = a shared function that moves and updates all particles
106
106
</dd>
107
107
</dl>
108
-
<br>
109
108
<h2>PIXI.collision</h2>
110
109
<dl>
111
110
<dt>PIXI.collision.aabb(Sprite, Sprite)</dt>
@@ -121,13 +120,11 @@ <h2>PIXI.collision</h2>
121
120
</dd>
122
121
<ddclass="return">Boolean</dd>
123
122
</dl>
124
-
<br>
125
123
<h2>PIXI.utils</h2>
126
124
<dl>
127
125
<dt>PIXI.utils.requestFullScreen(domElement)</dt>
128
-
<dd>The element passed in (typically use the Application view) will attempt to go fullscreen</dd>
126
+
<dd>The element passed in (typically the Application view) will attempt to go fullscreen</dd>
0 commit comments