Aztecs Examples

January 27, 2026 ยท View on GitHub

Examples for the Aztecs ECS and game engine

Running

Examples can be run with cabal run {example}, for instance cabal run ecs

Examples

  • 2d: Render 2D shapes with OpenGL and GLFW
  • ecs: Core ECS principles
  • lifecycle: ECS component lifecycles
  • observers: ECS observers on entities and events
  • pong: Full pong game implementation
  • sprite: Sprite rendering
  • spritesheet: Animated sprite sheet rendering
  • text: Text rendering with OpenGL
  • window: GLFW window example

Assets