Skip to content
github-actions[bot] edited this page Aug 31, 2026 · 10 revisions

AP2 documentation

AP2 (Application Primitives) is a C17 kit for games and tools.

Copyright (c) 2024-2026 Jack Waechter. MIT licensed. See LICENSE.

Draw with the short names (AP_Clear, AP_FillRect, AP_Present, AP_DrawTexture). They are macros over AP_Render*.

Guides

Tutorials

Subjects

  1. Hello window
  2. Drawing in 2D
  3. Textures and sprites
  4. Input
  5. Audio
  6. Text and fonts
  7. Immediate GUI
  8. 3D
  9. Shaders and post-processing
  10. Tilemaps

Apps and games

  1. Breakout — bricks, paddle, collision, score
  2. Top-down walker — WASD/gamepad, camera, spatial SFX
  3. Desktop tool — inspector-style GUI app

Headers under include/AP2/ win if a tutorial and a signature disagree.

The GitHub Pages site and the wiki are published from this folder on each push.

Clone this wiki locally