Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Iipal/FdF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FdF

"Fil de Fer"

made by tmaluh

Video preview

Installation:

Use make for compiling all files.

MLX

For correct work program & project need install MLX library. (Use this MLX)

When you have already installed MLX library you can use this simple rules:

  • make: Compile all.
  • make clean: Delete temporary files.
  • make fclean: Delete executable FdF file & libft library.
  • make re: It's rules - make fclean & make in one.

Usage:

./fdf test_maps/<map_name>
  • Move figure up, down, right & left. [WASD or Arrows]
  • Zooming it. [+ or -] (or mouse)
  • Rotate by XY axis. (X[T | G], Y[Y | H] or mouse)
  • Close FdF. [ESC]
  • Bonus. [C] (Working only if exist file frog_bonus.fdf in test_maps/(frog.h))

Something about maps for that project:

  • Numbers in one line means our X-positions on map.
  • Lines in file means our Y-positions on map.
  • Each numbers on map means our Z-positions on map.
  • 0xFFFFFF: HEX color code for XYZ-position.