Skip to content

Latest commit

 

History

History
62 lines (52 loc) · 1.6 KB

README.md

File metadata and controls

62 lines (52 loc) · 1.6 KB

Generate Map From Image

  • 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 commands:
$> pip install Pillow
$> pip install numpy
  • Now, to create properly formatted maps that can be read by FdF, simply have access to an image (PNG or JPG) and run the script map_generator.py with the following command:
$> python3 map_generator.py

Enter the image path: <image-name>
Enter the name that the image will be saved: <map-name>.fdf
  • Once the map is generated, to render it just run your binary with it, this way it is possible to generate some really cool maps, like these: