It's a fork of ZenGL library to CodeTyphon Studio.

ZenGL is cross-platform game development library written in Pascal.
Designed to provide necessary functionality for rendering 2D-graphics, handling input, sound output, etc


  • Main
    • can be used as so/dll/dylib or statically compiled with your application
    • rendering to own or any other prepared window
    • logging
    • resource loading from files, memory and zip archives
    • multithreaded resource loading
    • easy way to add support for new resource format
  • Configuration of
    • antialiasing, screen resolution, refresh rate and vertical synchronization
    • aspect correction
    • title, position and size of window
    • cursor visibility in window space
  • Input
    • handling keyboard, mouse and joystick input
    • handling of Unicode text input
    • possibility to restrict the input to the Latin alphabet
  • Textures
    • supports tga, png, jpg and pvr
    • correct work with NPOT textures
    • control the filter parameters
    • masking
    • render targets for rendering into texture
  • Text
    • textured Unicode-font
    • rendering UTF-8 text
    • rendering text with alignment and other options like size, color and count of symbols
  • 2D-subsystem
    • batch render for high-speed rendering
    • rendering different primitives
    • sprite engine
    • rendering static and animated sprites and tiles
    • rendering distortion grid
    • rendering sprites with new texture coordinates(with the pixel dimension and the usual 0..1)
    • control the blend mode and color mix mode
    • control the color and alpha of vertices of sprites and primitives
    • additional sprite transformations(flipping, zooming, vertices offset)
    • fast clipping of invisible sprites
    • 2D camera with ability to zoom and rotate the scene
  • Sound
    • works through OpenAL or DirectSound, depends on configuration or OS
    • correct work without soundcard
    • supports wav and ogg as sound samples
    • playing audio files in separate thread
    • control the volume and playback speed
    • moving sound sources in 3D space
  • Video
    • decoding video frames into texture
    • supports theora codec in ogv container
  • Mathematic
    • basic set of additional math functions
    • triangulation functions
    • basic set of collision functions
  • Additional
    • reading and writing ini-files
    •  functions for work with files and memory


home64 Home page:


You can explore Units, Functions, Procedures, Classes, etc in our
Source Documentation