dragonblocks_alpha/README.md

110 lines
4.9 KiB
Markdown
Raw Permalink Normal View History

2021-07-16 07:47:19 -07:00
# Dragonblocks Alpha
2021-03-24 03:53:17 -07:00
A multiplayer voxelgame for POSIX systems.
2022-04-25 03:43:59 -07:00
It has been ported to Linux, Windows, FreeBSD and OpenBSD, but may work on other systems.
2021-03-29 13:36:04 -07:00
2022-07-12 16:26:18 -07:00
Head to <https://www.elidragon.tk/dragonblocks_alpha/> for snapshot and release builds.
2021-07-16 07:47:19 -07:00
## Invocation
2022-04-25 03:43:59 -07:00
```sh
# on posix
2022-04-25 06:45:50 -07:00
./dragonblocks_server "<address>:<port>"
./dragonblocks_client "<address>:<port>"
2022-04-25 03:43:59 -07:00
# on windows
2022-04-25 06:45:50 -07:00
dragonblocks_server.exe "<address>:<port>"
dragonblocks_client.exe "<address>:<port>"
2021-03-24 03:53:17 -07:00
```
or alternatively:
2022-04-25 03:43:59 -07:00
```sh
# on posix
./singleplayer.sh
2022-04-25 03:43:59 -07:00
# on windows
singleplayer.bat
```
2021-03-31 02:29:01 -07:00
## Controls
2021-08-24 07:30:14 -07:00
| Key | Action |
|-|-|
| W | Move Forward |
| A | Move Left |
| S | Move Backward |
| D | Move Right |
| Space | Jump / When flying: Move Up |
| Left Shift | When flying: Move Down |
| F | Toggle flight |
| C | Toggle collision |
| T | Toggle timelapse |
2021-09-29 04:30:42 -07:00
| F2 | Take screenshot |
2021-08-24 12:22:32 -07:00
| F3 | Toggle debug info |
2021-09-29 04:30:42 -07:00
| F11 | Toggle fullscreen |
2021-08-24 07:30:14 -07:00
| ESC | Pause / unpause game |
2022-04-25 03:43:59 -07:00
## System Requirements
2021-09-29 10:07:10 -07:00
Dragonblocks Alpha targets PCs only. Non x86-64 platforms may work, however there is no guarantee whatsoever.
You need a POSIX system conforming to the ISO C and POSIX 2008 standards. However, so far only GNU/Linux systems, in particular Ubuntu and Debian, have been tested.
The minimum OpenGL version is 3.3 core. Dragonblocks has been tested on Intel Integrated and NVIDIA GPUs, however other graphics cards should work as well.
2022-04-17 05:13:40 -07:00
A PC with at least 4 CPU cores is recommended, but not necessarily required.
2021-09-29 10:07:10 -07:00
Note: The game can work with OpenGL 3.3, but to use texture batching, you need at least OpenGL 4.0. If your machine doesn't that version, disable texture batching by adding the line "texture_batching off" to your client.conf file.
2021-07-16 07:47:19 -07:00
## Current Features
2022-04-17 05:13:40 -07:00
- Multiplayer, Animated player model, Nametags
2021-10-01 03:47:27 -07:00
- Mountains, snow, temperature and humidity, dynamic grass color, oceans and beaches, vulcanos, boulders
2021-07-16 07:47:19 -07:00
- Physics
- FPS Camera
2021-10-01 03:47:27 -07:00
- Mipmapping, Antialiasing, Face Culling, Frustum Culling, Diffuse Lighting, Skybox, Fog
2021-09-29 10:07:10 -07:00
- Taking screenshots
- Daylight cycle
2021-09-26 01:53:53 -07:00
- GUI
2022-04-17 05:13:40 -07:00
- Saving terrain, player positions and other data to a SQLite3 database
- Multithreaded terrain generation, mesh generation and networking
2021-07-16 07:47:19 -07:00
- Handlers for SIGINT und SIGTERM (just Ctrl+C to shut down the server)
2022-04-15 14:45:01 -07:00
- Log levels: error, warning, access, action, info, verbose
2022-04-17 05:13:40 -07:00
- Loading assets such as textures, models, schematics, shaders and fonts from files
2021-07-16 07:47:19 -07:00
## Usage
### Server
2021-08-24 07:32:58 -07:00
The server currently stores the world database (world.sqlite) in the current working directory, and it will stay like that.
2021-07-16 07:47:19 -07:00
If you want to have multiple worlds, just run the DragonblocksServer process from different directories.
It's up to you how you organize the world folders, which is an advantage since the program really just "does one thing well"
without having to search your system for share directories or maintaining a world list (like Minetest does).
### Client / Singleplayer
The Dragonblocks client itself does not and will not have a Main menu. It goes against the already mentioned UNIX philosophy to have a binary
that does multiple things at once. For now, there is a singleplayer script that launches a server and a client, and in the future a launcher
will be added that is used to do all the stuff that users nowadays don't want to do themselves, like showing you a list of worlds and launching the
server in the correct directory, as well as updating the game and managing game versions for you. It's gonna do the ugly `~/.program_name`, but you
wont't have to use it if you don't want to.
### Modding
Dragonblocks Alpha does not and will most likely never have a modding API. If anything, a Lua plugin API will be added.
It would be possible to have a native modding API for a C project (as demonstrated by [dungeon_game](https://github.com/EliasFleckenstein03/dungeon_game)),
but it would remove simplicity and, most importantly, remove optimisation possibilities.
The way you are meant to mod dragonblocks is by simply forking it on github and modifiying the game directly. To use multiple mods together, just git merge them.
If there are conflicts, the mods would likely not be compatible anyway.
## Project Goals
The name "Dragonblocks _Alpha_" does not have anything to do with the game being in early development (which it is tho), it's just the game's name.
### What Dragonblocks Alpha aims to achieve
- A voxelgame inspired by Minecraft and Veloren, with the techical side being inspired by Minetest
- Exciting and feature-rich gameplay with the focus on exploring and adventuring, while still being multi-optional and not too bloated
- A simple structure and invocation syntax
- Using modern OpenGL to combine performance with graphics quality on high-end computers
- Portability between PCs running POSIX systems (focus: Linux, BSD, MacOS, Plan 9 APE, Windows MinGW)
2021-07-16 07:47:19 -07:00
### What Dragonblocks Alpha does not aim to achieve
- Portability to Phones / Consoles
2021-07-16 07:47:19 -07:00
- Good performance on low-end PCs
- A fixed story or lore
- Cloning Minecraft behavior
- Replacement for Minecraft and / or Minetest
- An engine