You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: top-python-game-engines/README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
# Top Python Game Engines
2
2
3
-
This repository contains source code for sample games you'll see in Real Python's Top Python Game Engines article.
3
+
This repository contains source code for sample games that you'll see in Real Python's Top Python Game Engines tutorial.
4
4
5
-
After cloning this repository, you can navigate into each folder to find the source code for the sample games shown in the article. Instructions on how to run each game is shown below.
5
+
After cloning this repository, you can navigate into each folder to find the source code for the sample games shown in the tutorial. Instructions on how to run each game is shown below.
6
6
7
-
## Setup the Virtual Environment
7
+
## Set up the Virtual Environment
8
8
9
-
It is recommended to use a virtual environment to run these samples. To do so, follow these instructions.
9
+
It's recommended to use a virtual environment to run these samples. To do so, follow these instructions.
10
10
11
11
First, create the virtual environment:
12
12
@@ -60,7 +60,7 @@ To run the Pygame Zero sample code, first activate the virtual environment:
60
60
$ source ./venv/bin/activate
61
61
```
62
62
63
-
Then navigate to the Pygame folder:
63
+
Then navigate to the Pygame Zero folder:
64
64
65
65
```bash
66
66
(venv) $ cd pygame_zero
@@ -85,7 +85,7 @@ Alternately, you can use `pgzrun` to run both games:
85
85
```
86
86
87
87
### Note
88
-
Checkers like [flake8 are unaware](https://pygame-zero.readthedocs.io/en/latest/installation.html#for-flake8-pyflakes) of Pygame Zero's extra builtins.
88
+
Checkers like [flake8 are unaware](https://pygame-zero.readthedocs.io/en/latest/installation.html#for-flake8-pyflakes) of Pygame Zero's extra built-ins.
89
89
That's why xou'll find `# noqa: F821` inline comments in `pygame_zero_basic.py` and `pygame_zero_game.py`.
90
90
With the `# noqa` inline comments [flake8](https://flake8.pycqa.org/en/3.1.1/user/ignoring-errors.html#in-line-ignoring-errors) ignores the errors that these lines would cause.
91
91
@@ -115,15 +115,15 @@ To run the full sample game:
115
115
(venv) $ python arcade_game.py
116
116
```
117
117
118
-
## AdventureLib
118
+
## adventurelib
119
119
120
-
To run the AdventureLib sample code, first activate the virtual environment:
120
+
To run the adventurelib sample code, first activate the virtual environment:
121
121
122
122
```bash
123
123
$ source ./venv/bin/activate
124
124
```
125
125
126
-
Then navigate to the AdventureLib folder:
126
+
Then navigate to the adventurelib folder:
127
127
128
128
```bash
129
129
(venv) $ cd adventurelib
@@ -144,9 +144,9 @@ To run the full sample game:
144
144
145
145
Unlike the other samples, Ren'Py games are developed and run from the Ren'Py Software Development Kit.
146
146
147
-
Visit the [Ren'Py web page](https://www.renpy.org/) to download the proper SDK for your environment (Windows, Mac, and Linux versions are available).
147
+
Visit the [Ren'Py web page](https://www.renpy.org/) to download the proper SDK for your environment (Windows, macOS, and Linux versions are available).
148
148
149
-
Then, run the Ren'Py Launcher using the proper command for your environment. Check out the [Ren'Py Quickstart Guide](https://www.renpy.org/doc/html/quickstart.html#the-ren-py-launcher) for the most up to date instructions.
149
+
Then, run the Ren'Py Launcher using the proper command for your environment. Check out the [Ren'Py Quickstart Guide](https://www.renpy.org/doc/html/quickstart.html#the-ren-py-launcher) for the most up-to-date instructions.
150
150
151
151
To access the basic and full sample games in the Ren'Py launcher, click _Preferences_, then _Projects Directory_. Change the Projects Directory to the `renpy` folder in the repository folder you downloaded. Click _Return_ to return to the main Ren'Py Launcher page.
0 commit comments