A multiplayer 3D first-person game with procedurally generated worlds. Very much in-progress.
Dependencies are installed locally (inside the repo, not in system-directories) by cmake. The build-system downloads the repositories using git. Currently swordbow-magic is transitioning from 2D graphics to 3D graphics. Because of this, swordbow-magic compiles but there is no graphics, input or sound present any longer. These features will be back soon™.
- C++14 compliant compiler
- CMake
- make
- git
You can build either a release build or debug build.
- Open up your favorite terminal and navigate to /swordbow-magic/<You should be here>.
- Type this:
mkdir debug && cd debug/ && cmake -DCMAKE_BUILD_TYPE=Debug .. && make setup build - Two executables (client and server) is present inside /swordbow-magic/debug/<executables should be here>
- Open up your favorite terminal and navigate to /swordbow-magic/<You should be here>.
- Type this:
mkdir release && cd release/ && cmake -DCMAKE_BUILD_TYPE=Release .. && make setup build - Two executables (client and server) is present inside /swordbow-magic/release/<executables should be here>
You can build either a release build or debug build.
- Open up PowerShell and navigate to /swordbow-magic/<You should be here>.
- Type this:
mkdir debug; cd debug; cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug ..; make setup build - Two executables (client and server) is present inside /swordbow-magic/debug/<executables should be here>
- Open PowerShell and navigate to /swordbow-magic/<You should be here>.
- Type this:
mkdir debug; cd debug; cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release ..; make setup build - Two executables (client and server) is present inside /swordbow-magic/release/<executables should be here>
There can be some bootup-time for server if running with parameter bigworld. Be patient before connecting a client. There should be two executables in the same directory that make build was executed:
- swordbow-magic-server
- swordbow-magic-client
You have to start swordbow-magic-server before starting the client. Check source code server.cpp and client.cpp to figure out the parameters and how to specify server IP, port and client port etcetc... These change frequently so I don't bother explaining it here :).
This is a hobby project which is only developed on master branch. It breaks from time to time.
