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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # izanagi
  2. A run-and-gun shooter inspired by Metal Slug.
  3. ## Setup
  4. > **Note:** CMake and OpenSSL are required.
  5. ### Windows
  6. The following tools are required:
  7. * [Windows SDK](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/)
  8. These required tools may be installed via Chocolatey (recommended):
  9. * CMake
  10. * Ninja
  11. * Clang
  12. > Set your `CC` environment variable to the full path of `clang-cl.exe`
  13. > Set your `CMAKE_MT` environment variable to the full path of `mt.exe`, which can be found on your Windows SDK
  14. > installation folder (usually `C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/mt.exe`)
  15. > **Note:** The CMake cache might be filled in with library paths that might be unknown when Visual Studio is installed.
  16. > It will cause errors in building. Run the scripts provided in this project to ensure that the correct library paths
  17. > are supplied.
  18. 1. Clone this repo.
  19. 2. Clone the repositories under `dependencies.txt` except for SDL2.
  20. 3. Unpack the **MSVC** archive under `dependencies` folder in this project's root. Rename the directory as `SDL2`.
  21. 4. Build the following dependencies first:
  22. - `portmidi`
  23. - `libwebsockets` (follow the [instructions on building LWS](https://libwebsockets.org/lws-api-doc-master/html/md_README_8build.html))
  24. 5. Build via CMake.
  25. ### macOS/*NIX
  26. 1. Clone this repo.
  27. 2. Clone the repositories under `dependencies.txt`, including SDL2.
  28. 3. Build the SDL, SDL_image, and SDL_ttf dependencies using the [build instructions for Linux/UNIX](https://wiki.libsdl.org/SDL2/Installation#linuxunix)
  29. or [build instructions for macOS](https://wiki.libsdl.org/SDL2/Installation#macos).
  30. > **Note:** You may need to download other tools to build the libraries:
  31. > - autoconf
  32. > - make
  33. > **Note:** Clone the submodules under SDL_ttf to download freetype and harfbuzz:
  34. >
  35. > ```shell
  36. > git submodule update --init --recursive
  37. > ```
  38. 4. For OpenSSL, simply run:
  39. ```shell
  40. ./Configure
  41. make
  42. make test
  43. ```
  44. 5. Build the following dependencies first:
  45. - `portmidi` (Linux needs [ALSA libraries](https://www.alsa-project.org/files/pub/lib/) to be compiled)
  46. - ALSA Lib requires `libtool` to be compiled.
  47. - `libwebsockets` (follow the [instructions on building LWS](https://libwebsockets.org/lws-api-doc-master/html/md_README_8build.html))
  48. 6. Build via CMake.