This repository has been archived on 2022-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
InfinitShoot/ReadMe.md

38 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

为了1MGames创建的陪跑游戏。游戏采用主题**“无限”**。玩家扮演一个枪手,尽可能地杀光袭来的外星生物。
# 下载
Github可以直接在Release界面找到Windows的可执行压缩包。
Gitme可以在`版本发布`下找到同样的压缩包。
# 编译
本仓库的本体是一个基于C和Lua的游戏框架TinyHazelEngine所以当你使用cmake编译后并不会得到游戏本身而是得到这个游戏框架。
本仓库目前只能在Windows下编译成功因为我懒得写音频处理直接用了Windows的API
拉取工程后首先拉取其子工程
```bash
git submodule update --init --recursive
```
然后使用cmake编译(**如果你使用MSVC和Clang编译需要将最后的hazel.dll重命名为libhazel.dll。如果是MinGW那么他应当产出libhazel.dll**)
```bash
cmake -S . -B build
```
然后安装到`install`文件夹:
```bash
cmake --build build --target install
```
游戏本体在`game`文件夹下,所以你需要将`install`文件夹内的所有`.dll`文件,`shader`文件夹和`HazelRunner.exe`拷贝到`game`文件夹下。
然后双击`game/HazelRunner.exe`就可以打开游戏了。
# 游戏截图
![snapshot](./snapshot/snapshot.png)