Compare commits

..

2 commits

Author SHA1 Message Date
griffi-gh 7a375cf3c0 fix flake 2024-11-07 19:18:15 +01:00
griffi-gh ced9705910 Update readme 2024-11-07 19:04:16 +01:00
3 changed files with 21 additions and 3 deletions

BIN
.readme/screenshot_new.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 MiB

View file

@ -1,8 +1,13 @@
<h1 align="center">Kubi</h1>
<p align="center">
Voxel engine written in Rust
Heavily multithreaded voxel engine with multiplayer networking.<br>
Written in Rust using <a href="https://crates.io/crates/wgpu">wgpu</a>
</p>
<!-- <h2>screenshots</h2> -->
<div align="center">
<img src=".readme/screenshot_new.png" width="512">
<img src=".readme/game.gif" width="512">
</div>

View file

@ -25,7 +25,7 @@
pkgs.stdenvAdapters.useMoldLinker pkgs.clangStdenv
else
pkgs.clangStdenv;
} rec {
} {
packages = with pkgs; [
(fenix.packages.${system}.complete.withComponents [
"cargo"
@ -56,7 +56,20 @@
udev
openssl
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath buildInputs;
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath (with pkgs; [
libGL
glslang
vulkan-tools
vulkan-headers
vulkan-loader
wayland
xorg.libX11
xorg.libXcursor
xorg.libXi
xorg.libXrandr
xorg.libxcb
libxkbcommon
]);
RUSTFLAGS = "-Zthreads=8";
};
}