2D Run-and-gun shooter inspired by One Man's Doomsday, Counter-Strike, and Metal Slug.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 
 
 
TheoryOfNekomata 24fb053d58 Update character sprites pirms 1 gada
__mocks__ Fix input test pirms 1 gada
assets Add GUID config handling, refine gamepad pirms 1 gada
assets_src Update character sprites pirms 1 gada
docs Update weapon data pirms 1 gada
src/packages Migrate portmidi pirms 1 gada
subprojects Add subprojects for Meson pirms 1 gada
tools Fix test client pirms 1 gada
.editorconfig Organize test fixtures pirms 2 gadiem
.gitignore Add build scripts for Windows pirms 1 gada
.gitmodules Add subprojects for Meson pirms 1 gada
00-build-cache-debug-x64 Update build instructions pirms 1 gada
00-build-cache-debug-x64.bat Update windows build commands pirms 1 gada
01-build-game Add build scripts for macOS pirms 1 gada
01-build-game.bat Add build scripts for Windows pirms 1 gada
02-build-server Add build scripts for macOS pirms 1 gada
02-build-server.bat Add build scripts for Windows pirms 1 gada
CMakeLists.txt Update character sprites pirms 1 gada
README.md Update windows build commands pirms 1 gada
TODO.md Update console output pirms 1 gada

README.md

izanagi

A run-and-gun shooter inspired by Metal Slug and Counter-Strike.

Setup

For Windows, it is recommended to use Chocolatey for retrieving the required tools. Use Homebrew for macOS instead.

For *NIX, use whatever dependency manager you prefer.

The following are required for building on all platforms:

  • CMake
  • Ninja
  • Clang

Windows

  1. Install the Windows SDK.

  2. Ensure your environment variables are set up.

    Important: Set your CC environment variable to the full path of clang-cl.exe

    Important: Set your CMAKE_MT environment variable to the full path of mt.exe, which can be found on your Windows SDK installation folder (usually C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/mt.exe)

  3. Clone this repo recursively.

  4. Build the dependencies under subprojects. Follow the instructions on building for Visual C.

    Important: For libwebsockets, follow the instructions on building LWS.

  5. Generate the CMake cache.

    cmake^
      -DCMAKE_SIZEOF_VOID_P=8^
      "-DCMAKE_MT=%CMAKE_MT%"^
      "-DCMAKE_BUILD_TYPE=%BUILD_TYPE%"^
      -DCMAKE_MAKE_PROGRAM=ninja^
      -DCMAKE_C_COMPILER=clang-cl^
      -DCMAKE_C_FLAGS=-m64^
      -G Ninja^
      -S .^
      -B "./build/%BUILD_TYPE%"
    

    Important: Create the directories under /build per each BUILD_TYPE you are generating.

  6. Build the specific executables you want to build, which are defined in CMakeLists.txt.

macOS/*NIX

  1. Ensure additional tools are present in the system:

    • autoconf
    • make
    • libtool (*NIX only)
  2. Clone this repo recursively.

  3. Build the dependencies under subprojects. Follow the instructions on building for *NIX (macOS should have similar instructions for *NIX).

  4. Generate the CMake cache.

    cmake \
      -DCMAKE_SIZEOF_VOID_P=8 \
      -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
      -DCMAKE_MAKE_PROGRAM=ninja \
      -DCMAKE_C_COMPILER=cc \
      -DCMAKE_C_FLAGS=-m64 \
      -G Ninja \
      -S . \
      -B ./build/$BUILD_TYPE
    

    Important: Create the directories under /build per each BUILD_TYPE you are generating.

  5. Build the specific executables you want to build, which are defined in CMakeLists.txt.