A classic roguelike set in a classic roguelike setting. https://nc.itch.io/dragons-dungeon
Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
Jens Pitkänen 37411d1ffb Fix fae dep vor 7 Monaten
fonts/world-of-fonts Cleanup vor 7 Monaten
itch RC1 vor 7 Monaten
lib/windows Add windows build script vor 7 Monaten
src RC1 vor 7 Monaten
.gitignore Cleanup vor 7 Monaten
Cargo.lock Fix fae dep vor 7 Monaten
Cargo.toml Fix fae dep vor 7 Monaten
LICENSE.md Implement skeleton of the game vor 7 Monaten
README.md Add windows build script vor 7 Monaten
build.rs Add windows build script vor 7 Monaten

README.md

7DRL

Here you'll find an entry to the 2020 7DRL game jam.

Build instructions

Main points to be aware of when building this game:

  • The game interacts with the OS via libc and SDL2. Everything else is written in Rust, and therefore statically linked.

  • Because of how Rust does things, libc will be dynamically linked. Might look into making this musl compatible in the future.

  • SDL2 can be linked either way, but I'm going dynamic by default, since sdl is almost a standard, and can usually be found via a package manager.

Dynamically linked

Dynamic linking is the default, as many Linux distributions ship SDL2 in their main repositories, and it's easy to bundle SDL2.dll with the Windows builds. Ensure you have the relevant SDL2 development libraries installed, and then simply:

cargo build --release

Windows note

The DLLs and .libs are bundled in the lib/windows directory. The appropriate DLL will be copied into target/release when building.

Statically linked

If you want to build SDL2 inside your executable, to avoid having to mess about with dependencies or such, enable the static-link feature, and build:

cargo build --release --features static-link

Note that this method requires cmake to be installed, as it is used when building SDL2. See the rust-sdl2 repository for more information.

License

This game is distributed under the terms of the GNU GPLv3 license.