The reprint of Jin Yong's Heroes is added with the suffix cpp to distinguish it from reprints in other languages.
In addition to classic turn-based combat, it also includes semi-real-time combat (including progress bar), and two fully real-time combat modes. That is, imitating the combat system of Hades and Sekiro. You can switch by modifying battle_mode in the ini file.
github: https://github.com/scarsty/kys-cpp
Code cloud (synchronized from time to time): https://gitee.com/scarsty/kys-cpp
Resource file: http://pan.baidu.com/s/1sl2X9wD
This is a 2D game framework implemented based on SDL2. It also provides an example of using this framework to create a ported version of the DOS game "The Legend of Jin Yong".
Because it uses concepts, at least C++20 is required.
Under Windows, it is recommended to install vcpkg first and execute it in the vcpkg directory:
.vcpkg install sdl2:x64-windows sdl2-image:x64-windows sdl2-ttf:x64-windows sdl2-mixer:x64-windows lua:x64-windows opencc:x64-windows sqlite3:x64-windows libiconv:x64-windows asio:x64-windows picosha2:x64-windows yaml-cpp:x64-windows libzip:x64-windows
Recommended execution:
.vcpkg.exe integrate install
Get the submodule mlcc:
git submodule init
git submodule update
# 可选
git submodule update --remote --rebase
Then use Visual Studio (try to use the newer version) to open kys.sln and compile it. The project is for the x64 version. If you need the x86 version, please modify it yourself.
The above method does not include the function of playing video. If you need this function, such as playing the opening animation, you need to compile smallpot's dynamic library first, which is more complicated. Please contact the author.
Compile under Linux and refer to the documents in the doc directory. Please note that there is no online battle part.
For a detailed explanation of dependencies, see dependencies.md in the doc directory.
If there is a conflict between Chinese and English texts below, the Chinese version shall prevail.
以 BSD 3-Clause License 授权发布,但是包含两个附加条款:
一般情况下,可以自由使用代码,也可自由用于商业情况。
但若将其用于金庸武侠题材的游戏,则严禁任何形式的牟利行为。
The source codes are distributed under BSD 3-Clause License license, with two additional clauses.
Full right of the codes is granted.
If the codes are used in Jin Yong's novels related games, the game is strictly prohibited for profit.
Special thanks to ReSharper C++ for its support to the open source community.
Special thanks to WangZi, NiBa, HuaKaiYeLuo, XiaoWu, LiuYunFeiYue, ZhenZhengDeQiangQiang, SanDaShan, SB250 and SB750.
To commemorate Mr. Jin Yong’s contribution to martial arts culture.