Explorar o código

Update cinematics.adoc

Fixed broken table 1 and 3.
Fixed broken new lines.
Changed tip from text to Admonition.
mitm001 %!s(int64=9) %!d(string=hai) anos
pai
achega
ef48fa844a
Modificáronse 1 ficheiros con 11 adicións e 4 borrados
  1. 11 4
      src/docs/asciidoc/jme3/advanced/cinematics.adoc

+ 11 - 4
src/docs/asciidoc/jme3/advanced/cinematics.adoc

@@ -13,8 +13,10 @@ Internally, Cinematics are implemented as <<jme3/advanced/application_states#,Ap
 
 Short overview of the cinematic process:
 
-.  Plan the script of your movie. +Write down a timeline (e.g. on paper) of which character should be at which spot at which time.
-.  Attach the scene objects that you want to remote-control to one Node. +This Node can be the rootNode, or a Node that is attached to the rootNode. 
+.  Plan the script of your movie. +
+Write down a timeline (e.g. on paper) of which character should be at which spot at which time.
+.  Attach the scene objects that you want to remote-control to one Node. +
+This Node can be the rootNode, or a Node that is attached to the rootNode. 
 .  Create a Cinematic object for this movie scene. The Cinematic will contain and manage the movie script.
 .  For each line in your script (for each keyframe in your timeline), add a CinematicEvent to the Cinematic. 
 
@@ -50,6 +52,7 @@ stateManager.attach(cinematic);
 
 .  Attach the Cinematic to the SimpleApplication's stateManager. 
 .  Play, stop and pause the Cinematic from your code.
+
 [cols="2", options="header"]
 |===
 
@@ -73,7 +76,7 @@ a|Pauses the cinematic.
 Just like a movie script consists of lines with instructions to the actors, each Cinematic consists of a series of events.
 
 Here is the list of available CinematicEvents that you use as events. Each track remote-controls scene objects in a different way:
-[cols="2", options="header"]
+[cols="20,80", options="header"]
 |===
 
 a|Events(CinematicEvents)
@@ -116,6 +119,7 @@ To create a MotionEvent, do the following:
 .  Create a MotionEvent based on the MotionPath.
 .  Configure your MotionEvent (see below).
 .  Add the MotionEvent to a Cinematic.
+
 [cols="2", options="header"]
 |===
 
@@ -148,7 +152,10 @@ a|Sets the rotation. Use together with `MotionEvent.Direction.Rotation` or `Moti
 
 |===
 
-*Tip:* Most likely you remote-control more than one object in your scene. Give the events and paths useful names such as `dragonEvent`, `dragonPath`, `heroEvent`, `heroPath`, etc.
+[TIP]
+====
+Most likely you remote-control more than one object in your scene. Give the events and paths useful names such as `dragonEvent`, `dragonPath`, `heroEvent`, `heroPath`, etc.
+====
 
 
 === SoundEvent