50 Star 267 Fork 96

sb500 / kys-cpp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
BSD-3-Clause

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.

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

BSD 3-Clause License Copyright (c) 2022, SunTY All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

简介

《金庸群侠传》C++复刻版,这是一个以SDL2为基础实现的2D游戏引擎。同时相当于提供了一个使用该引擎制作DOS游戏《金庸群侠传》移植版的范例。 展开 收起
C/C++ 等 4 种语言
BSD-3-Clause
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
C/C++
1
https://gitee.com/scarsty/kys-cpp.git
git@gitee.com:scarsty/kys-cpp.git
scarsty
kys-cpp
kys-cpp
master

搜索帮助

14c37bed 8189591 565d56ea 8189591