Pacman

From ClanLib Game SDK

This is the game that started it all. Before time there was pacman. Pacman even existed before Windows did. And before ClanLib.

It also happens to be the very first example for ClanLib, using a variant of Pacman available on the Apple IIe that one of the authors of ClanLib loved to play when he was a little kid. Can you guess the name of the game its inspired from?


You can choose the target renderer by enabling the #define in program.cpp.

For OpenGL 2 and above:

  1. define USE_OPENGL_2 (default)

For OpenGL 1.3 and above:

  1. define USE_OPENGL_1

For Software renderer

  1. define USE_SOFTWARE_RENDERER
Pacman Window
.