Game Development Reference
In-Depth Information
Figure 6-8 . The modified particle emitter properties
If you don't see a property in this figure, then you don't have to worry about changing it.
After you have made these changes, you will see a single particle moving straight up
along the y-axis. The reason the particle is going straight up is because all of the accelera-
tion is along the y-axis.
Change the X value for the Acceleration property to 500 and see what happens. The
particle now moves up the y-axis and to the right along the x-axis. Next, change the X
value for the Acceleration property to -500. You will now see that the particle is again
moving up along the y-axis, but this time it is moving left along the x-axis. This is be-
cause you applied a negative X acceleration.
Search WWH ::




Custom Search