PDS42 / FdF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

First graphic project @42. Keeping things simple, the goal was to get used to working with an unknown graphic library. (used: "Minilibx", built by Olivier Crouzet, head of 42's educational team).

This software creates a isometric view of a map file. It is launched like this :

./fdf

Example of a map file (more in maps/ folder) : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 10 0 0 10 10 0 0 0 10 10 10 10 10 0 0 0 0 0 10 10 0 0 10 10 0 0 0 0 0 0 0 10 10 0 0 0 0 10 10 0 0 10 10 0 0 0 0 0 0 0 10 10 0 0 0 0 10 10 10 10 10 10 0 0 0 0 10 10 10 10 0 0 0 0 0 0 10 10 10 10 10 0 0 0 10 10 0 0 0 0 0 0 0 0 0 0 0 0 10 10 0 0 0 10 10 0 0 0 0 0 0 0 0 0 0 0 0 10 10 0 0 0 10 10 10 10 10 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Where the values represent pixel height. This would for instance gets displayed as :

About


Languages

Language:C 95.3%Language:Makefile 4.7%