Skip to content

An example of how to use the ECS part of the EnTT framework

License

Notifications You must be signed in to change notification settings

indianakernick/EnTT-Pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8d0ad58 · Jan 24, 2024
Jul 21, 2020
Sep 12, 2018
Sep 21, 2018
May 7, 2022
Jul 24, 2020
Sep 21, 2018
May 21, 2019
Jul 24, 2020
Sep 26, 2018
Jan 24, 2024
Sep 23, 2018
Jul 25, 2020

Repository files navigation

EnTT Pacman

License: MIT

An example of how to use the ECS part of the EnTT Framework

Screenshot

What is this?

This is a tutorial on how to use the EnTT framework to make a game. This project is for people who are just starting out with EnTT and not too sure how use it.

The code isn't perfect. It could certainly be improved in some areas. Any kind of feedback is welcome. Be sure to ask me questions if something is unclear. The EnTT Gitter channel is a great place for discussion.

Installing SDL2

This uses the SDL2 Library for input and rendering. CMake will find it if it's on your system. For details on how to install SDL2, see the installation page.

If you're on MacOS,

brew install sdl2

If you're on a Debian based system,

sudo apt-get install libsdl2-dev

If you're on Windows,

vcpkg install sdl2

Building

EnTT is bundled with the project to make building this as easy as possible.

git clone https://github.com/indianakernick/EnTT-Pacman.git
cd EnTT-Pacman/build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
./pacman

It's not exactly the same as the real thing

I read The Pacman Dossier many times during development. If you notice a difference between this game and the real thing, that wasn't an oversight. Perfectly recreating the real thing would have made this project quite a bit more complicated. I think it's complicated enough as it is!