voxelman ~master
Voxel engine
To use this package, run the following command in your project's root directory:
Manual usage
Put the following dependency into your project's dependences section:
Voxelman
Plugin-based engine written in D language.
Voxelman plugin pack includes plugins for a voxel-based game(s).
Launcher will allow for any plugin combination, while master-server will host all plugins and online server list.
Screenshots and videos
See releases for binaries.
See youtube channel for videos.
Contacts
Join Discord servers:
Installing game
- Download latest build
- Unpack
- Follow instructions below
Compiler
Any D compiler with frontend version of 2.075 and newer.
Requirements
- OpenGL 3.1 support
- Multicore CPUs are utilized
- Memory consumption <table> <thead> <tr> <th rowspan="2">Map name</th> <th colspan="2">10 (21^3) chunks</th> <th colspan="2">20 (41^3) chunks</th> <th colspan="2">30 (61^3) chunks</th> </tr> <tr> <th>RAM</th> <th>VRAM</th> <th>RAM</th> <th>VRAM</th> <th>RAM</th> <th>VRAM</th> </tr> </thead> <tr> <td>Default heightmap terrain</td> <td>300MB</td><td>150MB</td> <td>800MB</td><td>200MB</td> <td>1.8GB</td><td>400MB</td> </tr> <tr> <td>Default flat terrain</td> <td>80MB</td><td>18MB</td> <td>160MB</td><td>80MB</td> <td>400MB</td><td>170MB</td> </tr> <tr> <td>King's landing</td> <td>200MB</td><td>180MB</td> <td>500MB</td><td>550MB</td> <td>600MB</td><td>700MB</td> </tr> </table>
Starting game from launcher
Single player
- Start launcher
- Press
New
in worlds tab to create new world - Select new world and press
Start
Multiplayer
- To start a server select world and press
Server
button - Connect to your server in
Connect
tab ofPlay
menu - Select local server and press
Connect
at the bottom - To stop the server, go to the
Code
menu and hitStop
button of your server instance
Starting game from command line
- Executable must be started from
builds/default
folder voxelman --app=[client|server|combined] --world_name="new world" --name="Player"
- You can override any config option with a switch of a form:
--option=value
- Array config options are passed using comma between items. Like
--resolution=1280,800
Server commands
- Can be inputted from server console inside launcher
Debug
menu, or from client's in-game console tp <x> [<y>] <z> | tp <player name>
- teleports to position or other player's locationtp u|d|l|r|f|b <num_blocks>
- teleports player in choosen directionspawn
teleports to starting world positionspawn set
sets world spawndim_spawn
teleports to dimension spawn posdim_spawn set
sets dimension spawn pos
Controls (Can be changed in config/client.sdl
)
Q
to lock mouseWASD
,LCtrl
,Space
to move.LShift
to boostRight
andLeft
to switch toolsR
to rotate blocksRMB
to placeLMB
to removeMMB
to pick block~
open console[
and]
to change view distance- Keypad
-
and+
to change movement speed U
disable position updateF
flying modeN
noclipKP+
,KP-
change movement speedF2
chunk gridF5
update all meshesC
toggle frustum cullingY
toggle wireframe mode
Building from sources
Installing compilers
Linux
sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list
sudo apt-get update && sudo apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && sudo apt-get update
sudo apt-get install build-essential dmd-bin dub
Windows
- Compilers https://dlang.org/download.html
- Visual studio https://visualstudio.microsoft.com/
Installing dependencies
Linux
sudo apt-get install liblmdb-dev liblz4-dev libglfw3-dev libenet-dev
Windows
Download compiled static libs from here
Unpack lib
folder inside voxelman
folder.
Compile
git clone --depth=50 https://github.com/MrSmith33/voxelman voxelman
cd voxelman
git submodule update --init --recursive
dub build
With sources and dependencies you can now also compile & run via launcher.
Run
cd builds/default
voxelman --app=combined
- Registered by MrSmith33
- ~master released 2 years ago
- MrSmith33/voxelman
- BSL-1.0
- Authors:
- Sub packages:
- voxelman:engine, voxelman:plugins
- Dependencies:
- voxelman:engine, voxelman:plugins
- Versions:
-
0.9.0 2022-May-10 0.8.0 2017-Feb-03 0.8.0-dev.1 2016-Aug-25 0.7.0 2016-Aug-22 0.6.1 2016-Jan-09 - Download Stats:
-
-
0 downloads today
-
0 downloads this week
-
0 downloads this month
-
249 downloads total
-
- Score:
- 2.4
- Short URL:
- voxelman.dub.pm