Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pikmin-rgb/so_long

And thanks for all the fish !
https://github.com/pikmin-rgb/so_long

2d-game animation c game makefile school-project

Last synced: about 7 hours ago
JSON representation

And thanks for all the fish !

Awesome Lists containing this project

README

        

# so_long

This project is a very small 2D game.
Its purpose is to make you work with textures, sprites,
and some other very basic gameplay elements. \
This project has been validated with a score of 120/100. \
⚠️ **ONLY WORKING ON LINUX** ⚠️

# Original assets

![player_bg](https://user-images.githubusercontent.com/29428817/156181573-94991af8-a28c-41e6-a84e-6fb85fb38235.png)
![player_s](https://user-images.githubusercontent.com/29428817/156181594-1fb59110-f86b-4c83-b5d3-c025821f4375.png)
![player_c](https://user-images.githubusercontent.com/29428817/156429105-175b49e5-f3c8-419a-a8d6-a436e13d2860.png)
![player_exit](https://user-images.githubusercontent.com/29428817/156181603-f327933a-5418-4bb3-9e9c-ed3bab5c4dec.png)
![ennemi](https://user-images.githubusercontent.com/29428817/156181732-b6feacbc-8a74-4ee6-abfe-fc58c5c07796.png)
![collectible](https://user-images.githubusercontent.com/29428817/156182026-647e5a37-020e-4253-9618-1408de953f44.png)
![start](https://user-images.githubusercontent.com/29428817/153879783-e646e6ee-a375-453c-b312-a1eb4d76c95b.png)
![exit](https://user-images.githubusercontent.com/29428817/153879791-30d7d09b-b00d-4254-8fd2-0bf84bb98a9d.png)
![wall](https://user-images.githubusercontent.com/29428817/156177940-b776af5f-7d6f-4178-8eb5-c1d5d34eed04.png)
![background](https://user-images.githubusercontent.com/29428817/153784485-0efc4cba-296c-4d80-9479-88a3902aaf61.png)

# Usage

The game has two versions.

- *Vanilla version*
- Compile with `make`
- Execute `./so_long` with a `.ber` map as an argument : \
`./so_long maps/map1.ber` \
`./so_long maps/map2.ber`

![so_long_vanilla](https://user-images.githubusercontent.com/29428817/156498764-d074da93-6383-4ad4-b1b2-33b0ebc57c3f.png)

- *Fancy version*
- Compile with `make bonus`
- Execute `./bonus` with a `.ber` map as an argument : \
`./so_long maps/map1.ber` \
`./so_long maps/map2.ber` \
`./so_long maps/map_bonus.ber`

![so_long](https://user-images.githubusercontent.com/29428817/156498913-cb252006-e4ff-4492-b195-85b462b2bafd.png)

# How to play

- Use `W`, `A`, `S`, `D` to move
- Eat all the fish
- Avoid evil cats (*fancy version*)
- Go to the exit

You can quit the game by pressing the `ESC` key or clicking the red cross !