Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

🎅 🎁 ⛄ 🌲 A small 2D game with minilibx

NotificationsYou must be signed in to change notification settings

rbiodies/so_long

Repository files navigation

Mandatory part

The aim of the mandatory part is to create a 2D game where any hero collects any valuables before leaving the place. It is built to make our work with textures, sprites and some gameplay elements.

Bonus list

• Enemy patrols that cause the player to lose in case of contact.

• There’s some sprite animation.

• Movement count is directly displayed on the screen instead of shell output.

Example of a .ber map

1111111111111111111111111100000000000000010A100C011110000P00000C111000011111C0001100000000C0000C0111111000000000000C111100111110000010001101000C0000111110000000000000000000111111A000000C111100CA001E1111111100000111100000010111C0000000000000C000000C111111111111111111111111111
  • 0 for an empty space,
  • 1 for a wall,
  • C for a collectible,
  • E for a map exit,
  • P for the player’s starting position,
  • A for an enemy patrol (for the bonus part).

Compilation

make bonus

Usage

./so_long maps/map4.ber

Screen Shot 2021-11-27 at 6 15 53 PM

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp