TheoryOfNekomata f9cea8b396 | 1 yıl önce | |
---|---|---|
__mocks__ | 1 yıl önce | |
assets | 1 yıl önce | |
assets_src | 1 yıl önce | |
docs | 1 yıl önce | |
src/packages | 1 yıl önce | |
subprojects | 1 yıl önce | |
tools | 1 yıl önce | |
.editorconfig | 2 yıl önce | |
.gitignore | 1 yıl önce | |
.gitmodules | 1 yıl önce | |
00-build-cache-debug-x64 | 1 yıl önce | |
00-build-cache-debug-x64.bat | 1 yıl önce | |
01-build-game | 1 yıl önce | |
01-build-game.bat | 1 yıl önce | |
02-build-server | 1 yıl önce | |
02-build-server.bat | 1 yıl önce | |
CMakeLists.txt | 1 yıl önce | |
README.md | 1 yıl önce | |
TODO.md | 1 yıl önce |
A run-and-gun shooter inspired by Metal Slug.
Note: CMake and OpenSSL are required.
The following tools are required:
These required tools may be installed via Chocolatey (recommended):
CMake
Ninja
Clang
Set your
CC
environment variable to the full path ofclang-cl.exe
Set your
CMAKE_MT
environment variable to the full path ofmt.exe
, which can be found on your Windows SDK installation folder (usuallyC:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/mt.exe
)
Note: The CMake cache might be filled in with library paths that might be unknown when Visual Studio is installed. It will cause errors in building. Run the scripts provided in this project to ensure that the correct library paths are supplied.
dependencies.txt
except for SDL2.dependencies
folder in this project’s root. Rename the directory as SDL2
.portmidi
libwebsockets
(follow the instructions on building LWS)Clone this repo.
Clone the repositories under dependencies.txt
, including SDL2.
Build the SDL, SDL_image, and SDL_ttf dependencies using the build instructions for Linux/UNIX or build instructions for macOS.
Note: You may need to download other tools to build the libraries:
- autoconf
- make
Note: Clone the submodules under SDL_ttf to download freetype and harfbuzz:
git submodule update --init --recursive
For OpenSSL, simply run:
./Configure
make
make test
Build the following dependencies first:
portmidi
(Linux needs ALSA libraries to be compiled)
libtool
to be compiled.libwebsockets
(follow the instructions on building LWS)Build via CMake.