Skip to content

Commit fb028d5

Browse files
committed
Organized the FAQ section
1 parent c613997 commit fb028d5

File tree

3 files changed

+24
-16
lines changed

3 files changed

+24
-16
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 2.3.15
4+
5+
- Organized the FAQ section
6+
37
## 2.3.14
48

59
- Added warnings for invalid keys in btn-related functions

docs/faq-en.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ The `update` function is called every frame, but the `draw` function may be skip
5050

5151
</details>
5252

53-
<details>
54-
<summary>File cannot be loaded. It may fail when the environment changes.</summary>
55-
56-
Make sure that the current directory is set as intended when loading files.<br>
57-
When Pyxel's `init` function is called, the current directory is changed to the same location as the script file. After that, files can be specified using relative paths. However, loading may fail if you try to open a file before calling `init` or if the current directory is changed after calling `init`.
58-
59-
</details>
60-
6153
<details>
6254
<summary>What are the types and usage of Pyxel's MML commands?</summary>
6355

@@ -104,6 +96,16 @@ The following are the types of commands available for use with the `mml` method
10496

10597
</details>
10698

99+
## File Operations and Data Management
100+
101+
<details>
102+
<summary>File cannot be loaded. It may fail when the environment changes.</summary>
103+
104+
Make sure that the current directory is set as intended when loading files.<br>
105+
When Pyxel's `init` function is called, the current directory is changed to the same location as the script file. After that, files can be specified using relative paths. However, loading may fail if you try to open a file before calling `init` or if the current directory is changed after calling `init`.
106+
107+
</details>
108+
107109
## Using Pyxel Tools
108110

109111
<details>

docs/faq-jp.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,6 @@ Pyxel のサンプルコードを 01、05、03、04、02 の順に試すのが
5050

5151
</details>
5252

53-
<details>
54-
<summary>ファイルが読み込めません。環境が変わると失敗する時があります。</summary>
55-
56-
ファイルを読み込む際に、カレントディレクトリが意図したものになっているかを確認してください。<br>
57-
Pyxel の`init`関数が呼ばれると、カレントディレクトリはそのスクリプトファイルと同じ場所に変更され、それ以降は相対パスでファイルを指定できます。しかし、`init`を呼ぶ前にファイルを開こうとした場合や`init`の後にカレントディレクトリを変更した場合には読み込みに失敗する可能性があります。
58-
59-
</details>
60-
6153
<details>
6254
<summary>PyxelのMMLのコマンドの種類と使い方を教えてください</summary>
6355

@@ -104,6 +96,16 @@ Sound クラスの mml メソッドで使えるコマンドの種類は以下の
10496

10597
</details>
10698

99+
## ファイル操作とデータ管理
100+
101+
<details>
102+
<summary>ファイルが読み込めません。環境が変わると失敗する時があります。</summary>
103+
104+
ファイルを読み込む際に、カレントディレクトリが意図したものになっているかを確認してください。<br>
105+
Pyxel の`init`関数が呼ばれると、カレントディレクトリはそのスクリプトファイルと同じ場所に変更され、それ以降は相対パスでファイルを指定できます。しかし、`init`を呼ぶ前にファイルを開こうとした場合や`init`の後にカレントディレクトリを変更した場合には読み込みに失敗する可能性があります。
106+
107+
</details>
108+
107109
## Pyxel ツールの使い方
108110

109111
<details>

0 commit comments

Comments
 (0)