A downloadable programming library

Download NowName your own price

CGALIB 2 is a set of C libraries for DOS game development. It targets the CGA graphics adapter, specifically the 4-colour 320x200 CGA graphics modes, the IBM XT and AT keyboards, and the PC speaker.

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 included are simple asset creation utilities for creating bitmaps, fonts, sound effects, and music. There is a PDF reference manual provided that documents the various modules and functions, and the game and utilities.

Download the binary package if you want to develop games using the library, 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.

The CGALIB 1 library is also available, and is still useful if you want to target small or medium memory modules. CGALIB 1 lacks the back buffer provided by CGALIB 2, and therefore takes up less memory.

Published 1 day ago
StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(1 total ratings)
AuthorCyningstan
Tags2D, c, cga, DOS, graphics, library, MS-DOS, programming, Sound effects, Turn-based

Download

Download NowName your own price

Click download now to get access to the following files:

CGALIB 2 Binaries 240 kB
CGALIB 2 Source Code 74 kB
CGALIB 2 Reference Manual 755 kB

Development log

Comments

Log in with itch.io to leave a comment.

(+1)

Great stuff!