Mikael Säker преди 7 години
родител
ревизия
f13dde32ff
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      docs/en/manuals/modules.md
  2. 2 2
      docs/en/tutorials/war-battles.md

+ 1 - 1
docs/en/manuals/modules.md

@@ -36,7 +36,7 @@ The idea is that we call `fly_randomly()` at `init()` which will cause the butte
 The first line `require 'modules_example.flying'` reads the script file *flying.lua* in the folder *modules_example* (where the application logic is stored) into the engine.
 
 ::: sidenote
-The syntax of the filename string provided to `require` is a bit special. Lua will replace '.' characters in the filename string with path separators: '/' on Mac OS X and Linux and '\' on Windows.
+The syntax of the filename string provided to `require` is a bit special. Lua will replace '.' characters in the filename string with path separators: '/' on Mac OS X and Linux and '\\' on Windows.
 :::
 
 To create *flying.lua*, just add a new Lua module file to your project and name it:

+ 2 - 2
docs/en/tutorials/war-battles.md

@@ -135,7 +135,7 @@ Your game needs a setting, a map. The map that you are going to draw will be mad
 
 7. Select "layer1" in the *Outline*.
 
-8. Select <kbd>Edit ▸ Select Tile</kbd>. This brings up the tile palette.
+8. Select <kbd>Edit ▸ Select Tile...</kbd>. This brings up the tile palette.
 
     ![palette](images/war-battles/palette.png)
 
@@ -377,7 +377,7 @@ Now you have a basic rocket game object blueprint, on file. The next step is to
     1. If the `firing` flag is true, tell the factory component called "rocketfactory" that you just created to spawn a new game object. Note the character '#' that indicates that what follows is the id of a component.
     2. Set the firing flag to false. This flag will be set in `on_input()` each frame the player presses the fire key.
 
-7. Scroll down to the `on_input()` function. Add a fourth `elseif` for the case where the function is called with the "fire" action and only the one frame when the key is pressed down:
+7. Scroll down to the `on_input()` function. Add a fifth `elseif` for the case where the function is called with the "fire" action and only the one frame when the key is pressed down:
 
     ```lua
         ...