CGALIB 1
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...
Also available for download are the associated KEYLIB keyboard and SPKLIB sound libraries; typically these three libraries are used together for games.
Download the binary packages if you want to develop games using the libraries, or if you just want to play the sample game. Download the source code if you want to make a custom version of the libraries, or to port them to another C compiler, or if you just want to see how they work.
Updated | 6 days ago |
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
- Companion Libraries added to CGALIB 16 days ago
- 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.