Browse Source

Merge pull request #98 from BlaXpirit/patch-2

Fix formatting
Rémi Verschelde 9 years ago
parent
commit
e4013a4a49
2 changed files with 5 additions and 4 deletions
  1. 1 1
      reference/gdscript.rst
  2. 4 3
      tutorials/step_by_step/scripting.rst

+ 1 - 1
reference/gdscript.rst

@@ -493,7 +493,7 @@ in the class' node parent, accessible with ``get_parent``:
     # two parents up (etc)
     # two parents up (etc)
     get_parent().get_parent().function(args)
     get_parent().get_parent().function(args)
 
 
-To call a function in a *base class* (i.e. one ``extend``ed in your current class), 
+To call a function in a *base class* (i.e. one ``extend``-ed in your current class),
 prepend ``.`` to the function name:
 prepend ``.`` to the function name:
 
 
 ::
 ::

+ 4 - 3
tutorials/step_by_step/scripting.rst

@@ -77,9 +77,10 @@ Scene setup
 This tutorial will begin by scripting a simple GUI scene. Use the add
 This tutorial will begin by scripting a simple GUI scene. Use the add
 node dialog to create the following hierarchy, with the following nodes:
 node dialog to create the following hierarchy, with the following nodes:
 
 
--  Panel
-   \* Label
-   \* Button
+- Panel
+
+  * Label
+  * Button
 
 
 It should look like this in the scene tree:
 It should look like this in the scene tree: