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

Update hello_asset.adoc

Modified table columns to 30,70 width to give second column more space since it contains longer text. Fixed new line breaks.
mitm001 9 лет назад
Родитель
Сommit
b371847dd6
1 измененных файлов с 9 добавлено и 5 удалено
  1. 9 5
      src/docs/asciidoc/jme3/beginner/hello_asset.adoc

+ 9 - 5
src/docs/asciidoc/jme3/beginner/hello_asset.adoc

@@ -293,7 +293,7 @@ If your executable throws a “Cannot locate resource runtime exception, check a
 
 
 === Loading Models and Scenes
-[cols="2", options="header"]
+[cols="30,70", options="header"]
 |===
 
 a| Task? 
@@ -374,9 +374,11 @@ Use the following method to load models from a zip file:
     rootNode.attachChild(gameLevel);
 ----
 
-The loadModel() method now searches this zip directly for the files to load. +(This means, do not write `loadModel(town.zip/main.scene)` or similar!)
+The loadModel() method now searches this zip directly for the files to load. +
+(This means, do not write `loadModel(town.zip/main.scene)` or similar!)
 
-.  Clean, build and run the project. +You should now see the Ninja+wall+teapot standing in a town. 
+.  Clean, build and run the project. +
+You should now see the Ninja+wall+teapot standing in a town. 
 
 *Tip:* If you register new locators, make sure you do not get any file name conflicts: Don't name all scenes `main.scene` but give each scene a unique name.
 
@@ -395,7 +397,8 @@ Earlier in this tutorial, you loaded scenes and models from the asset directory.
 
  Note that the path is relative to the `assets/…` directory.
 
-.  Clean, build and run the project. Again, you should see the Ninja+wall+teapot standing in a town. 
+.  Clean, build and run the project. +
+Again, you should see the Ninja+wall+teapot standing in a town. 
 
 Here is a third method you must know, loading a scene/model from a .j3o file:
 
@@ -414,7 +417,8 @@ Here is a third method you must know, loading a scene/model from a .j3o file:
 
  Again, note that the path is relative to the `assets/…` directory.
 
-.  Clean, Build and run the project. +Again, you should see the Ninja+wall+teapot standing in a town. 
+.  Clean, Build and run the project. +
+Again, you should see the Ninja+wall+teapot standing in a town. 
 
 
 == Conclusion