Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.25 KB

README.md

File metadata and controls

33 lines (24 loc) · 1.25 KB

DDNet data directory as SVG collection

DDNet data SVG repository is a collection of SVGs, that can replace and/or extend the official data directory of ddnet with user specified resolution generated textures, meant for higher resolution support.

Contributing

When adding or changing a SVG file, make sure the file path fits the original PNG file path in the data directory. The SVG should contain a width and height(in inkscape the page width/height) in pixels matching the current size of the original PNG. This is required to properly scale up the generated images. Also the SVG should not contain the export path(e.g. in inkscape the export path for exporting PNGs).

To avoid multiple contributors working on the same graphics please create an issue with the graphic name in the title as soon as you start working on something.

How to build?

Install inkscape and execute:

mkdir build
cd build
../scripts/build.sh <target_resolution_width> <target_resolution_height> ..

where target_resolution_width and target_resolution_height are the resolution you are targeting. Note that the minimum for these values is full HD, so 1920 and 1080