Просмотр исходного кода

Update particle_emitters.adoc

Fixed broken horizontal rule.
Changed tip text to Admonition.
Added image attribute to header.
mitm001 9 лет назад
Родитель
Сommit
b3eab63428
1 измененных файлов с 15 добавлено и 10 удалено
  1. 15 10
      src/docs/asciidoc/jme3/advanced/particle_emitters.adoc

+ 15 - 10
src/docs/asciidoc/jme3/advanced/particle_emitters.adoc

@@ -6,6 +6,7 @@
 :relfileprefix: ../../
 :imagesdir: ../..
 :uri-jmonkeyengine: https://github.com/jMonkeyEngine/jmonkeyengine/tree/master/
+:img-jmonkeyengine: https://github.com/jMonkeyEngine/jmonkeyengine/raw/master/
 :uri-forum: https://hub.jmonkeyengine.org/
 ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
@@ -161,7 +162,7 @@ Build up you effect by specifying one parameter after the other. If you change s
 == Create an Effect Material
 
 
-image::{uri-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/flash.png[flash.png,width="128",height="128",align="right"]
+image::{img-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/flash.png[flash.png,width="128",height="128",align="right"]
 
 
 Use the common Particle.j3md Material Definition and a texture to specify the shape of the particles. The shape is defined by the texture you provide and can be anything – debris, flames, smoke, mosquitoes, leaves, butterflies… be creative.
@@ -201,39 +202,42 @@ a| Preview
 
 <a| Effects/Explosion/Debris.png
 <a| 3*3
-a| image:{uri-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/Debris.png[Debris.png,width="32",height="32"]
+a| image:{img-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/Debris.png[Debris.png,width="32",height="32"]
 
 <a| Effects/Explosion/flame.png
 <a| 2*2
-a| image:{uri-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/flame.png[flame.png,width="32",height="32"]
+a| image:{img-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/flame.png[flame.png,width="32",height="32"]
 
 <a| Effects/Explosion/flash.png
 <a| 2*2
-a| image:{uri-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/flash.png[flash.png,width="32",height="32"]
+a| image:{img-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/flash.png[flash.png,width="32",height="32"]
 
 a| Effects/Explosion/roundspark.png
 <a| 1*1
-a| image:{uri-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/roundspark.png[roundspark.png,width="32",height="32"]
+a| image:{img-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/roundspark.png[roundspark.png,width="32",height="32"]
 
 <a| Effects/Explosion/shockwave.png
 <a| 1*1
-a| image:{uri-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/flame.png[shockwave.png,width="32",height="32"]
+a| image:{img-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/flame.png[shockwave.png,width="32",height="32"]
 
 a| Effects/Explosion/smoketrail.png
 <a| 1*3
-a| image:{uri-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/smoketrail.png[smoketrail.png,width="32",height="32"]
+a| image:{img-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/smoketrail.png[smoketrail.png,width="32",height="32"]
 
 <a| Effects/Explosion/spark.png
 <a| 1*1
-a| image:{uri-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/spark.png[spark.png,width="32",height="32"]
+a| image:{img-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Explosion/spark.png[spark.png,width="32",height="32"]
 
 <a| Effects/Smoke/Smoke.png
 a| 1*15
-a| image:{uri-jmonkeyengine/jme3-testdata/src/main/resources/Effects/Smoke/Smoke.png[Smoke.png,width="96",height="32"]
+a| image:{img-jmonkeyengine}jme3-testdata/src/main/resources/Effects/Smoke/Smoke.png[Smoke.png,width="96",height="32"]
 
 |===
 
-*Tip:* Use the `setStartColor()`/`setEndColor()` settings described above to colorize the white and gray parts of textures.
+[TIP]
+====
+Use the `setStartColor()`/`setEndColor()` settings described above to colorize the white and gray parts of textures.
+====
 
 
 == Usage Example
@@ -260,6 +264,7 @@ a| image:{uri-jmonkeyengine/jme3-testdata/src/main/resources/Effects/Smoke/Smoke
 ----
 
 Browse the full source code of all link:https://github.com/jMonkeyEngine/jmonkeyengine/tree/master/jme3-examples/src/main/java/jme3test/effect[effect examples] here.
+
 '''
 
 See also: <<jme3/advanced/effects_overview#,Effects Overview>>