为1MGames比赛制作的太空类游戏 https://visualgmq.github.io/projects/
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.
Go to file
VisualGMQ d683587d58 use strip and upx to compress executable 2022-02-04 14:07:03 +08:00
assets use glfw glad and stb_image; move project to cmake; add basic renderer and engin 2022-02-03 22:33:33 +08:00
include use strip and upx to compress executable 2022-02-04 14:07:03 +08:00
libs use strip and upx to compress executable 2022-02-04 14:07:03 +08:00
src use strip and upx to compress executable 2022-02-04 14:07:03 +08:00
tests use strip and upx to compress executable 2022-02-04 14:07:03 +08:00
.gitignore use strip and upx to compress executable 2022-02-04 14:07:03 +08:00
CMakeLists.txt use strip and upx to compress executable 2022-02-04 14:07:03 +08:00
ReadMe.md use strip and upx to compress executable 2022-02-04 14:07:03 +08:00
pack.sh use strip and upx to compress executable 2022-02-04 14:07:03 +08:00

ReadMe.md

SpaceSector

为1MGames游戏开发大赛制作的游戏。

编译方法

使用CMake 3.20及以上进行编译。

cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build

如果想要压缩文件至1M以下你需要有strip程序和upx程序,并执行:

cmake --build build --target CompressExe

编译好后执行pack程序打包

pack.sh

最终的结果在output文件夹下。