50 Star 269 Fork 95

sb500 / kys-cpp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
readme.md 2.85 KB
一键复制 编辑 原始数据 按行查看 历史
sb500 提交于 2022-09-14 11:53 . 抚剑而雷音,猛气纵横浮

kys-cpp

金庸群侠传复刻版,为区别于其他语言的复刻版,添加后缀cpp。

目前的开发分支名为“黑帝斯”,即受2020~2021年大火游戏《黑帝斯》启发的即时战斗系统。

在ini中设置semi_real=2即可以开启此战斗系统,但是并不正常。之前的回合制以及半即时战斗系统不受影响。

github:https://github.com/scarsty/kys-cpp

码云(不定期同步):https://gitee.com/scarsty/kys-cpp

资源文件:http://pan.baidu.com/s/1sl2X9wD

这是一个以SDL2为基础实现的2D游戏框架,同时相当于提供了一个使用该框架制作DOS游戏《金庸群侠传》移植版的范例。

如何编译

Windows下建议先安装vcpkg,并在vcpkg目录中执行:

.\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

建议执行:

.\vcpkg.exe integrate install

获取子模块mlcc:

git submodule init
git submodule update
# 可选
git submodule update --remote --rebase

之后使用Visual Studio(尽量用新版)打开kys.sln,编译即可。工程为x64版本,如需要x86版请自行修改。

上面的方法不含播放视频功能。如需要此功能,例如播放开场动画,则需先编译smallpot的动态库,比较复杂,请与作者联系。

Linux下编译参考doc目录中的文档。需注意没有联机对战部分。

对依赖的详细解释见doc目录中的dependencies.md。

授权

以下文本,若中文和英文存在冲突,则以中文为准。

以 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.

纪念金庸先生对武侠文化的贡献。

C/C++
1
https://gitee.com/scarsty/kys-cpp.git
git@gitee.com:scarsty/kys-cpp.git
scarsty
kys-cpp
kys-cpp
master

搜索帮助