CGALIB
A downloadable programming library
CGALIB is a relatively fast, specialised C graphics library for DOS game development. It targets the CGA graphics adapter, specifically the 4-colour 320x200 CGA graphics modes, although it will also emulate these modes on the 640x200 screen using dithering, for clarity on monochrome devices. For speed it organises the screen into 4x2 pixel cells, making it more suitable for turn-based games than for action games that require pixel-perfect positioning.
The library includes a sample game, the classic Robot Chase game. Avoid the robots who relentlessly head towards you, and try to make them crash into each other in order to pass each level. You can teleport to another part of the arena to get out of trouble, but this results in a score penalty...
Download the binary package if you want to develop games using CGALIB, or if you just want to play the sample game. Download the source code if you want to make a custom version of the library, or to port it to another C compiler, or if you just want to see how it works.
Status | Released |
Category | Tool |
Author | Cyningstan |
Tags | 2D, c, cga, DOS, graphics, library, programming, Turn-based |
Download
Click download now to get access to the following files:
Development log
- CGALIB Now Supports Hercules Graphics!Jan 21, 2024
- A CGALIB Update: Some New UtilitiesSep 26, 2023
- CGALIB Library UpdatedSep 05, 2022
Leave a comment
Log in with itch.io to leave a comment.