Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/trobert42/so_long
A graphical introduction project by coding a 2d game
https://github.com/trobert42/so_long
2d game-development graphics hooks minilibx
Last synced: 9 days ago
JSON representation
A graphical introduction project by coding a 2d game
- Host: GitHub
- URL: https://github.com/trobert42/so_long
- Owner: trobert42
- Created: 2023-08-31T20:42:42.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-24T11:56:57.000Z (9 months ago)
- Last Synced: 2024-02-24T15:55:44.497Z (9 months ago)
- Topics: 2d, game-development, graphics, hooks, minilibx
- Language: C
- Homepage:
- Size: 2.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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 | |
| External libraries | open(), close(), read(), write(), malloc(), free(), perror(), strerror(), exit(), All functions from math.h, All functions of the MiniLibX |## Installation
```bash
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..
![](https://github.com/trobert42/so_long/blob/main/so_long_bonus_clip.gif)