Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
Gil Mizrahi 023a4705f8 split-sections + fix for windows 5 місяці тому
app init 5 місяці тому
assets audio 5 місяці тому
server split-sections + fix for windows 5 місяці тому
src Representing inputs in a more compact way for flat 5 місяці тому
util/resources/appimage rename utils 5 місяці тому
.gitignore init 5 місяці тому
LICENSE init 5 місяці тому
Makefile Representing inputs in a more compact way for flat 5 місяці тому
README.md split-sections + fix for windows 5 місяці тому
gameplay.png multiplayer video 5 місяці тому
multiplayer.png multiplayer video 5 місяці тому
package.yaml Eraseable terrain 5 місяці тому
stack.yaml split-sections + fix for windows 5 місяці тому

README.md

deeper

A LD48 “game” I worked on during the jam, made in 72 hours using the nyx-game codebase.

Watch on youtube:

Single player:

Deep LD48 on youtube

Online multiplayer:

Deep LD48 online multiplayer on youtube

Build From Source

You will need Stack.

Ubuntu:

sudo apt install libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libsdl2-mixer-dev
stack build

OS X

brew install sdl2 sdl2_ttf sdl2_image sdl2_mixer
stack build

Windows

stack exec -- pacman -Syu
stack exec -- pacman -S mingw-w64-x86_64-pkg-config mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-SDL2_ttf mingw-w64-x86_64-SDL2_mixer
stack build

Run

The game has two modes, single player and multi player. Multi player code is using alpaca-netocode.

Single player

stack run

Multi player

Warning

Use at your own risk! When all clients start together things work, but if one or a few starts playing and another joins later, there's a real risk that the joining player's computer will crash from trying to evaluate all of the game states too fast!

stack run -- <hostname> <8111> # e.g. stack run -- 5.180.31.107 8111

You will need a server software up an running, you can statically build the one in the server directory using docker with stack build, or if you don't have docker and want to build it remove the following lines from the stack.yaml file:

docker:
  enable: true
  image: utdemir/ghc-musl:v19-ghc8104

And remove the following lines from the netcode-server.cabal file:

      - -static
      - -optl-static
      - -optl-pthread
      - -fPIC

And compile and run with stack run.