Skip to content

Commit

Permalink
Fix ForCpp documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mewmew-tea committed Jan 6, 2024
1 parent 61c3de9 commit 1cdb277
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/Help_Cpp/18x/Guide_Cpp_En.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ When the bat script is executed, the console will be displayed.
Below is an example of what will be displayed.

```
Preset numbers for building Effekseer for cpp:.
Preset numbers for building Effekseer for cpp:
[1] Visual Studio 2017(x86)
[2] Visual Studio 2017(x64)
[3] Visual Studio 2019(x86)
Expand Down Expand Up @@ -268,7 +268,7 @@ From the Install Folder (e.g. `install_msvc2022_x86/`) created in [3. Build Effe
Next, copy the library file (.lib).

From the Install Folder where Effekseer for Cpp was built(e.g. `install_msvc2022_x86/lib`),
**copy the following files to `[Your Project Folder]/Libraries/Effekseer/Lib]`.**
**copy the following files to `[Your Project Folder]/Libraries/Effekseer/Lib`.**
(Create the folder `[Your Project Folder]/Libraries/Effekseer/Lib/` manually.)


Expand Down Expand Up @@ -427,7 +427,7 @@ First, prepare the effect to be played.
Originally, this should be created in the Effekseer editor, but this time we will use the sample effect.
Copy the following files from the downloaded EffekseerForCpp to the project folder (.proj file folder).

- `Examples/Resources/Laser01.efkefc`.
- `Examples/Resources/Laser01.efkefc`
- `Examples/Resources/Texture` (entire folder, including all files and folders inside)

After copying, the folder structure should look like the following.
Expand Down Expand Up @@ -945,7 +945,7 @@ It can be looped by if the effect has finished playing, playing it again anew.
```cpp
// Check every frame to see if the effect has finished playing.
if (efkManager->Exists(efkHandle))
if (efkManager->Exists(efkHandle) == false)
{
// Play the effect again. Set the coordinates to the location where you want to display the effect.
// (position, rotation, and scaling must also be re-set)
Expand Down
4 changes: 2 additions & 2 deletions docs/Help_Cpp/18x/Guide_Cpp_Ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Enable runtime library DLL option?(y/n):

[3. Effekseer For C++のビルド](#3-effekseer-for-cのビルド)で出来上がったインストールフォルダ(例: `install_msvc2022_x86/`)から、環境に合わせて必要なものをコピーします。

**以下を`[導入先プロジェクトフォルダ]/Libraries/Effekseer/Include/]`へコピーしてください。**
**以下を`[導入先プロジェクトフォルダ]/Libraries/Effekseer/Include/`へコピーしてください。**
**フォルダごと、中身のファイルやフォルダを含めてコピーしてください。**

**<必ずコピー>**
Expand Down Expand Up @@ -982,7 +982,7 @@ efkManager->SetPaused(efkHandle, false);
```cpp
// 毎フレーム、エフェクトが再生終了しているか確認する
if (efkManager->Exists(efkHandle))
if (efkManager->Exists(efkHandle) == false)
{
// 新たにエフェクトを再生し直す。座標はエフェクトを表示したい場所を設定する
// (位置や回転、拡大縮小も設定しなおす必要がある)
Expand Down

0 comments on commit 1cdb277

Please sign in to comment.