Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caglakahriman/c-minilibx-2d-game
A 2D game, created using Minilibx library of C
https://github.com/caglakahriman/c-minilibx-2d-game
Last synced: 5 days ago
JSON representation
A 2D game, created using Minilibx library of C
- Host: GitHub
- URL: https://github.com/caglakahriman/c-minilibx-2d-game
- Owner: caglakahriman
- Created: 2022-12-26T13:28:21.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-26T13:59:03.000Z (almost 2 years ago)
- Last Synced: 2023-09-18T13:27:27.930Z (about 1 year ago)
- Language: C
- Size: 210 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C-Minilibx-2D-Game
A 2D game, created using Minilibx library of CThis project is a very small 2D game.
Its purpose is to make you work with textures, sprites,
and some other very basic gameplay elements.You can start the game by compiling the code using 'make', then './escape maps/map.ber'.
You can create your own map by following correct maps features (at least 1 collectible, 1 exit, 1 player. Map should be surrounded with walls.)
You can play the game with W,A,S,D keys.
Player can't exit without collecting all collectibles.
You can create your own textures and implement them in the 'img' directory. The file extension should be xpm.On this project I,
- handle [minilibx](https://qst0.github.io/ft_libgfx/man_mlx.html#:~:text=MiniLibX%20is%20an%20easy%20way,image%20and%20basic%20events%20management.) library,
- handle potential memory [leaks](https://en.wikipedia.org/wiki/Memory_leak#:~:text=In%20computer%20science%2C%20a%20memory,longer%20needed%20is%20not%20released.),
- handle key [hooks](https://harm-smits.github.io/42docs/libs/minilibx/hooks.html),
- handle reading maps,
- handle rendering a 2D [scene](https://harm-smits.github.io/42docs/libs/minilibx/images.html),
- handle gameplay elements,
- handle character movement,
- handle move count of the player,
- handle collision check,