Skip to content

Commit b9e2045

Browse files
committed
Typo fixes.
1 parent c98b576 commit b9e2045

1 file changed

Lines changed: 16 additions & 16 deletions

File tree

v3/dev-guide/README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ I'm assuming you already have a recent version of Node installed locally, and ca
1414

1515
3. Using your console, `cd` into the `phaser/v3/` folder. You can then either run `npm install` or `yarn install`, as we've configs for both. This process should install a local copy of webpack2 and a handful of small support scripts. Note that Yarn on Windows seems to have issues making some packages global, so stick with npm if this is the case.
1616

17-
4. Making sure you've got both repos checked out, and at the same directory level in your filesystem, issue the comment `webpack` from within the v3 folder. You should see the following output (truncated for brevity):
17+
4. Making sure you've got both repos checked out, and at the same directory level in your filesystem, issue the command `webpack` from within the v3 folder. You should see the following output (truncated for brevity):
1818

19-
![Webpack](webpack1.png)
19+
![Webpack](webpack1.png)
2020

21-
and at the end, after all the files have been packed:
21+
and at the end, after all the files have been packed:
2222

23-
![Webpack End](webpack2.png)
23+
![Webpack End](webpack2.png)
2424

25-
If there are any errors in the code, they'll be flagged in the build process above.
25+
If there are any errors in the code, they'll be flagged in the build process above.
2626

27-
**What you need to end up with is the ability to issue the command `webpack` within the v3 folder, and have it work**
27+
**What you need to end up with is the ability to issue the command `webpack` within the v3 folder, and have it work**
2828

2929
5. There is an ESLint configuration and an Editor Configuration in the v3 folder. **Please adhere to these!** Although not enforced in the build process yet, I will be adding that at a later point. There are lots of tools you can install so your editor of choice will check the ES Lint config during development.
3030

@@ -36,29 +36,29 @@ Now you can build Phaser 3, it's time to run the Examples.
3636

3737
1. Make sure you can access the Phaser 3 Examples Runner in your browser. If your local server is running on 127.0.0.1 then try to load `http://127.0.0.1/phaser3-examples/public/` and make sure the page loads. It should look something like this:
3838

39-
![Examples Runner](examples-runner.png)
39+
![Examples Runner](examples-runner.png)
4040

4141
2. From the list, scroll down, and pick `021 - image from atlas`. The Phaser 3 Sandbox editor should appear with the code on the left and a blank window on the right. You likely do this already, but I strongly suggest you perform all testing with the browsers Dev Tools open. In Chrome this will ensure the cache doesn't mess things up, and that you see errors and debug info.
4242

4343
3. Click 'Run Code'. The example should load in the right-pane (in this case it'll show a selection of sprites from a texture atlas)
4444

45-
![Code Editor](examples-runner2.png)
45+
![Code Editor](examples-runner2.png)
4646

47-
Note: The red background in the grab above is for debugging. You may not see this when you run it. What's important is that you do actually see the Sprites, and it doesn't throw any errors.
47+
Note: The red background in the grab above is for debugging. You may not see this when you run it. What's important is that you do actually see the Sprites, and it doesn't throw any errors.
4848

4949
4. If it doesn't run, check the console for errors, check your paths, and see if anything is missing.
5050

51-
**IMPORTANT** Not all examples run! Lots of the early ones don't currently work, as they were built before Phaser was refactored into modules. Given time I'll update them all, but for now a quick way to test is to check the source. If the Phaser Game is created like this: `var game = new Phaser.Game(800, 600 ...` then it means the example is old and hasn't yet been updated.
51+
**IMPORTANT** Not all examples run! Lots of the early ones don't currently work, as they were built before Phaser was refactored into modules. Given time I'll update them all, but for now a quick way to test is to check the source. If the Phaser Game is created like this: `var game = new Phaser.Game(800, 600 ...` then it means the example is old and hasn't yet been updated.
5252

5353
5. Using the editor in the browser, tweak the code. For example change this line:
5454

55-
` this.add.image(0, 0, 'atlas', 'aya_touhou_teng_soldier');`
55+
` this.add.image(0, 0, 'atlas', 'aya_touhou_teng_soldier');`
5656

57-
to
57+
to
5858

59-
` this.add.image(0, 200, 'atlas', 'aya_touhou_teng_soldier');`
59+
` this.add.image(0, 200, 'atlas', 'aya_touhou_teng_soldier');`
6060

61-
.. and click 'Run Code' again. The right-hand iFrame should reload, the dev tools console should clear, and the changes should be reflected instantly.
61+
.. and click 'Run Code' again. The right-hand iFrame should reload, the dev tools console should clear, and the changes should be reflected instantly.
6262

6363
The Phaser 3 Examples runner is now working properly. Woohoo!
6464

@@ -80,9 +80,9 @@ All the Phaser 3 examples can be found in the `phaser3-examples/public/src` fold
8080

8181
2. New examples don't appear on the Phaser 3 Examples index list by default. They are read from the `examples.json` file in the public folder of the repo when the page loads. To add your example to the JSON you can use the provided node script:
8282

83-
`node build`
83+
`node build`
8484

85-
This will parse the `src` folder, and write everything it finds in there to the json file. You can then commit it to the repo, and it'll appear on the index page.
85+
This will parse the `src` folder, and write everything it finds in there to the json file. You can then commit it to the repo, and it'll appear on the index page.
8686

8787
## The Build Process
8888

0 commit comments

Comments
 (0)