Effekseer For DX library
Overview
I describe the linkage with the DX library.
By adding Effekseer's wrapper lib to the DX library, you can easily use Effekseer with the DX library.
It is currently dedicated to VisualStudio 2017, 2019.
Although the operation is checked with version 3.18c or later version, we have not confirmed whether it work with other versions.
For samples, please check the Sample directory.
Change log
1.52m or later
Before 1.52m
1.52k (20/08/18) Updates Effekseer1.52l.
1.52k (20/08/16) Updates Effekseer1.52k. Fixed a bug about network reloading. Added a sample about network reloading.
1.52j (20/08/02) Updates Effekseer1.52j
1.52i (20/07/30) Updates Effekseer1.52i
1.52h (20/07/09) Updates Effekseer1.52h
1.52g (20/06/09) Updates DX library to 3.21f, Effekseer1.52g
1.52b (20/05/02) Fixed a bug where particles are not shown with Line of SpawnMethod
1.52a(20/04/28) Fixed a bug that a behavior of rotated billboard is something wrong when an angle is about 90 degree
1.52(20/04/26) Updated to Effekseer1.51c. Fixed a bug that caused a crash in rare cases. Fixed the bug that gray images cannot be displayed.
1.50(20/03/18) Updates DX library to 3.21d, Effekseer1.5
1.43d(19/09/16) Updates DX library to 3.21、 Fixed a bug that it fails to compile on VisualStudio2019
1.43d(19/07/09) Updates DX library to 3.20f BBS Version, Fixed a bug that failed to restore from DeviceLost in DirectX11
1.43b(19/06/29) Updates DX library to 3.20f, Fixed a bug that failed to restore from DeviceLost
1.43(19/03/02) Updates DX library to 3.20a, Update Effekseer
1.41(19/01/03) Updates DX library to 3.19f, Support 64bit
1.40(18/09/12) Updates DX library to 3.19d, Added many functions.
1.32b(18/02/10) Updates DX library to 3.19, enhanced supporting for VisualStudio2017
1.32(17/11/19) Added a texture cache function.
1.31(17/11/14) Supported Visual Studio 2017
1.30(17/11/01) Update Effekseer to 1.30, update DX library to 3.18e, support DirectX 11
How to install
The DX library which contains Effekseer is saved in「プロジェクトに追加すべきファイル_VC用/」. Please add files in 「プロジェクトに追加すべきファイル_VC用/」 to the project just like DX library.
If you already use the DX library, please copy the following files.
- 「Effekseer_vs2017_x86.lib」
- 「Effekseer_vs2017_x86_d.lib」
- 「EffekseerRendererDX9_vs2017_x86_d.lib」
- 「EffekseerRendererDX9_vs2017_x86.lib」
- 「EffekseerRendererDX11_vs2017_x86_d.lib」
- 「EffekseerRendererDX11_vs2017_x86.lib」
- 「EffekseerForDXLib_vs2017_x86_d.lib」
- 「EffekseerForDXLib_vs2017_x86.lib」
- 「Effekseer_vs2017_x64.lib」
- 「Effekseer_vs2017_x64_d.lib」
- 「EffekseerRendererDX9_vs2017_x64_d.lib」
- 「EffekseerRendererDX9_vs2017_x64.lib」
- 「EffekseerRendererDX11_vs2017_x64_d.lib」
- 「EffekseerRendererDX11_vs2017_x64.lib」
- 「EffekseerForDXLib_vs2017_x64_d.lib」
- 「EffekseerForDXLib_vs2017_x64.lib」
- 「Effekseer_vs2019_x86.lib」
- 「Effekseer_vs2019_x86_d.lib」
- 「EffekseerRendererDX9_vs2019_x86_d.lib」
- 「EffekseerRendererDX9_vs2019_x86.lib」
- 「EffekseerRendererDX11_vs2019_x86_d.lib」
- 「EffekseerRendererDX11_vs2019_x86.lib」
- 「EffekseerForDXLib_vs2019_x86_d.lib」
- 「EffekseerForDXLib_vs2019_x86.lib」
- 「Effekseer_vs2019_x64.lib」
- 「Effekseer_vs2019_x64_d.lib」
- 「EffekseerRendererDX9_vs2019_x64_d.lib」
- 「EffekseerRendererDX9_vs2019_x64.lib」
- 「EffekseerRendererDX11_vs2019_x64_d.lib」
- 「EffekseerRendererDX11_vs2019_x64.lib」
- 「EffekseerForDXLib_vs2019_x64_d.lib」
- 「EffekseerForDXLib_vs2019_x64.lib」
- 「Effekseer.h」
- 「EffekseerRendererDX9.h」
- 「EffekseerRendererDX11.h」
- 「EffekseerForDXLib.h」
However, if you are using a version other than "Ver 3.18a" It may not work with the copy of the above lib files. In that case, please make the version match or copy all the files in 「プロジェクトに追加すべきファイル_VC用/」.
How to use
Basically, please read sample and EffekseerForDXLib.h.
The sample is in 2D and 3D, the shortest source code to display and display one effect is described.
Network
>You can edit the playing effect in an application (game etc.) via the network from the outside when application is running.
Execute this function with the port to be connected from Effekseer as the argument of this function. Then you can edit the effect from Effekseer. In order to edit the effect from another computer, it is necessary to open the port with the setting of the firewall.
int Effekseer_StartNetwork(int port);
Limitation
Mask functions such as a CreateMaskScreen are not supported.
License
To use the DX library with Effekseer, you need to add the following text to help etc.
-DX Library DX Library Copyright (C) 2001-2019 Takumi Yamada. -Effekseer The MIT License (MIT) Copyright (c) 2011 Effekseer Project Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. DirectX Tool Kit https://directxtk.codeplex.com/ Microsoft Public License (Ms-PL)