为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 2c506b085d fixed readme 2022-02-17 21:23:13 +08:00
assets add cover.png; fixed cmake 2022-02-17 17:28:26 +08:00
include fixed bug in fight ship 2022-02-17 18:48:32 +08:00
libs move glfw as submodule, add other libs' licenses 2022-02-17 15:35:00 +08:00
license move glfw as submodule, add other libs' licenses 2022-02-17 15:35:00 +08:00
snapshot fixed readme 2022-02-17 21:23:13 +08:00
src fixed bug in fight ship 2022-02-17 18:48:32 +08:00
tests finished basic spaceship, it can move and shoot 2022-02-07 21:38:35 +08:00
.gitignore add restart btn 2022-02-17 16:54:05 +08:00
.gitmodules move glfw as submodule, add other libs' licenses 2022-02-17 15:35:00 +08:00
CMakeLists.txt add cover.png; fixed cmake 2022-02-17 17:28:26 +08:00
HowToPlay.md fixed readme 2022-02-17 21:23:13 +08:00
ReadMe.md fixed readme 2022-02-17 21:23:13 +08:00
pack.sh add cover.png; fixed cmake 2022-02-17 17:28:26 +08:00

ReadMe.md

SpaceSector

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

编译方法

使用CMake 3.20及以上进行编译。目前只能在Mac平台下编译因为我用的glad是Mac专属你也可以将你平台的glad替换libs/glad文件夹来编译glad指定OpenGL3.3 Core版本

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

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

cmake --build build --target CompressExe

编译好后执行pack程序打包

pack.sh

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

游戏截图

welcome

select

gaming

游戏操作

游戏操作