An open-source game similar to Minecraft, but in two dimensions.
SFML 2.5.1 (brew install sfml
or similar)
File path for SFML library is currently set to /usr/local/Cellar/sfml/2.5.1
.
If different on your machine, change the SFML_PATH
variable in Makefile
.
GNU make
version 3.81
g++
supporting C++17
./scripts/setup.sh
make
./scripts/run.sh
d - right
a - left
w - direction player faces
s - direction behind player
space - jump
left click - break block
escape - go to escape menu
There are several known bugs, like that block breaking sometimes doesn't work or that occasionally on startup nothing appears when you make a new world. This isn't nearly perfect yet. Please report bugs using an issue. Thanks!
Also, please excuse extra #include
s in implementation files. Stuff fails
to compile when I omit them, for some reason.