Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
design [2018/05/17 22:57]
pedro
design [2018/05/17 23:01]
pedro
Line 20: Line 20:
 <h2 id="debug-mode-and-execution-flow-visualization">Debug mode and execution flow visualization</h2> <h2 id="debug-mode-and-execution-flow-visualization">Debug mode and execution flow visualization</h2>
 <p>The Behavior Bricks editor enters debug mode automatically when playing a scene in the Unity editor, substituting the <code>Behavior</code> tab of the Behavior Bricks editor with the <code>Debug</code> tab, as shown in the Figure:</p> <p>The Behavior Bricks editor enters debug mode automatically when playing a scene in the Unity editor, substituting the <code>Behavior</code> tab of the Behavior Bricks editor with the <code>Debug</code> tab, as shown in the Figure:</p>
-<img src="http://bb.padaonegames.com/images/DebugModeQuickStartGuide/debug.png" title="Debug tab" alt="Debug tab" width="100%"/> +<p><img src="http://bb.padaonegames.com/images/DebugModeQuickStartGuide/debug.png" title="Debug tab" alt="Debug tab" width="100%"/></p>
-<p class="caption">Debug tab</p>+
 <p>To watch the execution flow for a particular behavior tree of a given entity in the scene, you must open the behavior tree in the Behavior Bricks editor, and select the entity to debug in the Unity´s <code>Hierarchy</code> panel. Alternatively, the entity can be selected in the <code>Debug</code> tab, by first clicking on the <code>Refresh List</code> button and then clicking on the entity name. The <code>Debug</code> tab shows a list of the entities in the scene being played which contain a <code>Behavior Executor</code> component, grouped by the behavior assigned, as shown in the Figure:</p> <p>To watch the execution flow for a particular behavior tree of a given entity in the scene, you must open the behavior tree in the Behavior Bricks editor, and select the entity to debug in the Unity´s <code>Hierarchy</code> panel. Alternatively, the entity can be selected in the <code>Debug</code> tab, by first clicking on the <code>Refresh List</code> button and then clicking on the entity name. The <code>Debug</code> tab shows a list of the entities in the scene being played which contain a <code>Behavior Executor</code> component, grouped by the behavior assigned, as shown in the Figure:</p>
-<div class="figure"> +<p><img src="http://bb.padaonegames.com/images/DebugModeQuickStartGuide/debug_entity.png" title="Debug tab" alt="Debug tab" width="100%"/></p>
-<img src="images/DebugModeQuickStartGuide/debug_entity.png" title="Entity selection" alt="Debug tab" /> +
-<p class="caption">Debug tab</p+
-</div>+
 <p>Once the behavior and the entity have been selected, the state of each node is depicted by changing the color of its bounding box:</p> <p>Once the behavior and the entity have been selected, the state of each node is depicted by changing the color of its bounding box:</p>
 <ul> <ul>
Line 43: Line 39:
 <p class="caption">Resume or Tick</p> <p class="caption">Resume or Tick</p>
 </div> </div>
-<p>Also you can pause and resume all the entities which uses a behavior by pressing the corresponding <code>Resume all</code> and <code>Pause all</code> buttons.</p> +<p>It is also possible to pause and resume all the entities that use given behavior by pressing the corresponding <code>Resume all</code> or <code>Pause all</code> button.</p> 
-<h2 id="blackboard-parameters-value">Blackboard parameters value</h2>+<h2 id="watching-the-blackboard-and-node-parameters">Watching the blackboard and node parameters</h2>
 <p>In order to see the current values of the blackboard parameters for a concrete behavior of an entity you must:</p> <p>In order to see the current values of the blackboard parameters for a concrete behavior of an entity you must:</p>
 <ul> <ul>