Skip to content

Guillemsc/pacman-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

144 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

logo

A Pac-Man clone done as an example of the C++ game engine framework: GEngine.

PacMan.mp4

Building:

Prerequisites

  • C++20 compatible compiler (GCC, Clang, MSVC).
  • CMake ≥ 3.31.

Structure:

Folder Structure:

The project is divided between the core GEngine folder, and the PacMan game folder.

Thid party tools used by the engine can be found at GEngine/vendor/

Entry point:

Main program entry point can be found at PacMan/src/Bootstrap/main.cpp. Here, GEngine is initialized, and PacMan is loaded and run.

Contexts:

The game overall structure is divided in contexts. A context is an abstraction of an independent chunk of a game. The game has three main contexts:

  • Shared context: contains essential parts used by all the different game contexts.
  • Meta context: context that contains all the menus that the player finds before the main gameplay (main menu for example).
  • Gameplay context: main gameplay of the game.

Third party

  • Raylib (OS layer and rendering)
  • ImGui (editor ui)
  • Glm (math)
  • Spdlog (logging)
  • Tmxlite (tiled importing)

References:

About

A pacman clone made with GEngine, a custom C++ engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors