|
|
@@ -11,8 +11,8 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
|
|
|
Previous: <<jme3/beginner/hello_audio#,Hello Audio>>,
|
|
|
Next: <<jme3/beginner/hello_physics#,Hello Physics>>
|
|
|
|
|
|
-
|
|
|
-image::jme3/beginner/beginner-effect-fire.png[beginner-effect-fire.png,150,165,align="right"]
|
|
|
+[.right]
|
|
|
+image::jme3/beginner/beginner-effect-fire.png[beginner-effect-fire.png,150,165]
|
|
|
|
|
|
|
|
|
When you see one of the following in a game, then a particle system is likely behind it:
|
|
|
@@ -110,8 +110,8 @@ link:https://github.com/jMonkeyEngine/jmonkeyengine/tree/master/jme3-examples/sr
|
|
|
|
|
|
=== Texture Animation and Variation
|
|
|
|
|
|
-
|
|
|
-image::jme3/beginner/Debris.png[Debris.png,96,96,align="right"]
|
|
|
+[.right]
|
|
|
+image::jme3/beginner/Debris.png[Debris.png,96,96]
|
|
|
|
|
|
|
|
|
Start by choosing a material texture for your effect. If you provide the emitter with a set of textures (see image), it can use them either for variation (random order), or as animation steps (fixed order).
|
|
|
@@ -202,8 +202,8 @@ For your game, you will likely create custom particle textures. Look at the fire
|
|
|
|
|
|
----
|
|
|
|
|
|
-
|
|
|
-image::jme3/beginner/flame.png[flame.png,96,96,align="right"]
|
|
|
+[.right]
|
|
|
+image::jme3/beginner/flame.png[flame.png,96,96]
|
|
|
|
|
|
|
|
|
Compare the texture with the resulting effect.
|