- First of all, make sure you clone the repository with the following command:
$> git clone git@github.com:ArthurSobreira/map_generator.git
- Then, you need to install the Pillow and Numpy packages, with the following command:
$> pip install numpy Pillow
- Now, to create properly formatted maps that can be read by FdF , simply have access to an image and run the script
map_generator.py
with the following command: (in theory the script accepts both PNG and JPG, but sometimes JPG works better than PNG, I'm not sure why)
$> python3 map_generator.py
Enter the image path: <image-name>
- Once the map has been generated, to render it you just need to run your fdf binary with it, this way you can generate some really cool maps, like these: