Skip to content

Commit

Permalink
Replaced imagine -> assume
Browse files Browse the repository at this point in the history
  • Loading branch information
PaologGithub authored and PaologGithub committed Nov 24, 2024
1 parent 4949d83 commit 8d74a95
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/step5/customizing-assets.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[<- Back (Step 5 - Customizing your project)](/docs/step5/main.md)
# Ursina on Mobile - Customizing assets

For the following tutorial, i imagine that your assets are under `game/assets` folder
For the following tutorial, i assume that your assets are under `game/assets` folder

You can add assets by doing that:
1) Change [setup.py](/src/setup.py)/setup/build_apps/include_patterns to add your folder. Example:
Expand All @@ -17,7 +17,7 @@ You can add assets by doing that:
```
2) Get all your assets in a list by writing this in your terminal:
```bash
# I imagine you are at the repo root
# I assume you are at the repo root
cd src
cd game
cd assets
Expand All @@ -36,7 +36,7 @@ You can add assets by doing that:
```
* Line 8:
```python
game_assets_src_dir = "game/assets" # As said at the top, I imagine your assets are in game/assets directory
game_assets_src_dir = "game/assets" # As said at the top, I assume your assets are in game/assets directory
```
Modifying this line is very important, because it tells the setup that you have assets, because None tells the setup that there isn't any assets, so it won't copy them

Expand Down
4 changes: 2 additions & 2 deletions docs/step5/customizing-your-game.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ You can put your ursina game into the [game folder](/src/game). Then, make sure
As you'll see, building the game takes time. So, if you want to test your game without building you app each time, you can install ursina 7.0.0 for python3.8 by doing this:

```bash
# I imagine that you're in the project root
# I assume that you're in the project root
python3.8 -m pip install src/wheels/ursina-7.0.0-py3-none-any.whl
```

Then, you can test your game by doing this:
```bash
# I imagine that you're in the project root, and that your main game file is game/__main__.py
# I assume that you're in the project root, and that your main game file is game/__main__.py
python3.8 src/game/__main__.py
```

Expand Down

0 comments on commit 8d74a95

Please sign in to comment.