/so_long

A graphical introduction project by coding a 2d game

Primary LanguageC

2D Game - MiniLibX

A simple top-down game in 2D where you have to get all the collectables to win. This is the first game project, it is to aim to discover graphical environment with the school graphical library MiniLibX.

Project Name so_long
Description A graphical introduction project using an educative library
Technologies C
External libraries open(), close(), read(), write(), malloc(), free(), perror(), strerror(), exit(), All functions from math.h, All functions of the MiniLibX

Installation

  gcl https://github.com/trobert42/so_long.git
  cd so_long
  make bonus
  ./so_long_bonus maps/map.ber

If you use WSL and have some trouble with "can't find a suitable x11 include directory", i suggest to follow those steps here: https://harm-smits.github.io/42docs/libs/minilibx/getting_started.html#getting-a-screen-on-windows-10-wsl2

Commands

A : left

D : right

W : up

S : down

💬

I thoroughly enjoyed handling movement control through the event system and selecting textures and colors.

My firsts sprites were some random pokemon pictures, but i don't have any clean video clip of it :(

Screenshots

Yeah, as you thought, there's no sense in a wood trunk eating pizzas..