From 1cdb277c8afd950e3ad8ed8ebeeee0eb08ae666f Mon Sep 17 00:00:00 2001 From: mewmew-tea Date: Sat, 6 Jan 2024 22:49:42 +0900 Subject: [PATCH] Fix ForCpp documentation --- docs/Help_Cpp/18x/Guide_Cpp_En.md | 8 ++++---- docs/Help_Cpp/18x/Guide_Cpp_Ja.md | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/Help_Cpp/18x/Guide_Cpp_En.md b/docs/Help_Cpp/18x/Guide_Cpp_En.md index 092ddb6213..54520074fd 100644 --- a/docs/Help_Cpp/18x/Guide_Cpp_En.md +++ b/docs/Help_Cpp/18x/Guide_Cpp_En.md @@ -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) @@ -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.) @@ -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. @@ -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) diff --git a/docs/Help_Cpp/18x/Guide_Cpp_Ja.md b/docs/Help_Cpp/18x/Guide_Cpp_Ja.md index cfdd1aceda..1339e643f4 100644 --- a/docs/Help_Cpp/18x/Guide_Cpp_Ja.md +++ b/docs/Help_Cpp/18x/Guide_Cpp_Ja.md @@ -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/`へコピーしてください。** **フォルダごと、中身のファイルやフォルダを含めてコピーしてください。** **<必ずコピー>** @@ -982,7 +982,7 @@ efkManager->SetPaused(efkHandle, false); ```cpp // 毎フレーム、エフェクトが再生終了しているか確認する -if (efkManager->Exists(efkHandle)) +if (efkManager->Exists(efkHandle) == false) { // 新たにエフェクトを再生し直す。座標はエフェクトを表示したい場所を設定する // (位置や回転、拡大縮小も設定しなおす必要がある)