A 2D survival game inspired by Minecraft that runs on the Nintendo DS
C++ CMake
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets-src
assets
cmake_modules
readme
source-DS
source-SFML
source
.gitignore
CMakeLists.txt
COPYING
Coding Conventions.md
Makefile-DS
README.md
config.hpp
config.hpp.in

README.md

About

Port Craft is a 2D Minecraft-inspired game focused on portability and low resource consumption. Currently it should run on Windows, Mac, and Linux, however in the future a Nintendo DS version is planned.

Screenshot

Build instructions

Here's an overview of what needs to be done:

  • Install SFML library and CMake
  • Use CMake to generate build files
  • Build Port Craft with make

More detailed instructions are below.

Step one

First download Port Craft's source code to a directory. (From the command line: git clone https://github.com/Wolfgange3311999/Port-Craft.git)

Continue to the header below according to your OS.

Linux

  • Install the latest SFML
  • Install CMake with your package manager (for Ubuntu, sudo apt-get install cmake)
  • Build Port Craft with the following commands in the source directory:
    • mkdir build
    • cd build
    • cmake ..
    • make

Finished! (See the Running Port Craft section below)

Windows

If you get confused or something goes wrong you can contact me or try applying this build tutorial to Port Craft. If using that link, make sure to only use the Configuring your SFML build section and ignore things that don't make sense in the context of Port Craft.

  • Install the latest SFML (Choose the header under Getting started that applies to you)
  • Install CMake (under Binary distributions)
  • Launcher CMake's GUI. There shouldn't be any options to specify and Where to build the binaries should be the a folder called build inside the Port Craft's source code. Then click Configure to begin creating the build files. It should ask for your IDE or compiler. Once that finishes click Configure again, keeping the default values. Lastly, click Generate to create either the IDE project files or the build files.

Finished! (See the Running Port Craft section below)

Running Port Craft

After compiling the project, the executable should work as is and resides in the assets folder of Port Craft's source. Currently, the game will crash if run without the assets in the same directory.

Contact

Any questions about Port Craft? Contact me at matthew3311999@gmail.com or file an issue in the issue tracker.