|


Libraries/Source Code

Games Programming
SxDL Game Development Toolkit
SxDL is a 2D and 3D Game development framework for
writing games for Windows using DirectX. You use the
functions in the game development toolkit to handle
objects usually needed in video games such as
graphics, keyboard input, mouse input, joystick
input, music, sound, timing, game loops, etc. All
rendering is done through predefined objects like
sprites, lines, tile maps, 3D models, sky boxes,
etc. This game development framework uses the C++
language, and you currently need Visual C++ (get a
free version here). The toolkit is licensed under
the GNU General Public License (GPL).
SpriteCraft Freeware 2D Game Engine
Among the features of the SpritCraft 2D game engine
are a high level interface for handling game objects
and events, the ability to create and use tile maps
and particle systems, arranging sprites into
hierachies, and a script language based on
JavaScript. The engine is based on COM technology,
so you can interface to it from Visual Basic,
Delphi, C++ and other languages that supports COM
objects.
Microsoft MechCommander 2
Microsoft has released the source code for Mech
Commander 2 under their Shared Source licence. Note
that you should read the licence to find out whether
it is suitable for your purpose before using the
code.
Apolyton Civilization Call to Power II
(To get the source code from the above link, click
the "CtP2 Source Code Project FAQ" forum post and
read it to find the appropriate links.) The source
code for Apolyton Civilization Call to Power 2 is
available. Note that you should read the licence,
which has a number of restrictions, to find out
whether it is suitable for your purpose before
downloading or using the source code.
Xgame - X11 Game Programming Library
Xgame is a widget that allows you to create windows,
read the keymap, display transparent sprites, etc,
with Xlib and Xpm. It works under Linux, FreeBSD,
SunOS, NetBSD, and probably others. It does not have
any sound support.
Allegiance
The source code for the game Allegiance, a
multiplayer space-combat game, is available from
Microsoft Research. The website does not specify the
licence under which the source code is distributed.
Pygame
Pygame is a cross-platform library with a set of
Python modules (see the Miscellaneous Free Compilers
for links to Python) designed for writing games. It
is layered on top of the Simple Directmedia Layer,
or SDL (listed elsewhere on this page). Modules are
provided for handling CDs, sound, the clock, fonts,
joysticks, movies, drawing, events, music, the
mouse, sprites, time, transformations, etc.
PPTactical Engine
PPTactical is an engine for real-time strategy (RTS)
and real-time tactics (RTT) games. The engine
supports SDL and DirectX, has editors for maps and
resources, scripted behaviour for units,
battlegroups, missions, etc. Windows, Linux and
Solaris are supported. It is released under the GNU
Lesser General Public License (LGPL).
Golden T Game Engine
Golden T Game Engine is a 2D game engine written in
Java. The engine supports GIF, PNG, JPG, mouse and
keyboard input, MIDI, MP3, WAV, OGG, sprite
management, built-in collision check,
high-resolution timer, etc. It may be used in your
games free of charge, provided you credit the
engine's creators.
SDL - Simple Directmedia Layer
SDL is a GNU LGPL multimedia library that allows
your programs to use audio, the keyboard, mouse,
joystick, 3D hardware (via OpenGL) and 2D video
framebuffer. The site mentions that the library is
used by MPEG playback software, emulators and
various games. Operating systems supported include
Linux, Windows, BeOS, MacOS Classic, Mac OS X,
FreeBSD, OpenBSD, Solaris, IRIX and QNX. Code is
also available for Windows CE, AmigaOS, Dreamcast,
Atari, NetBSD, AIX, OSF/Tru64, RISC OS and Symbian
OS. You can access the library with C, C++, Ada,
Eiffel, Java, Lua, ML, Perl, PHP, Pike, Python, Ruby
and possibly others.
Allegro
This is a C/C++ game programming library for DOS,
Linux, FreeBSD, Irix, Solaris, Darwin, Windows, QNX,
BeOS and MacOS X. The library provides functions for
graphics, sound, player input such as the keyboard,
mouse and joystick, timing (high resolution
interrupt timers), 3D, compressed datafiles (LZSS),
floating point mathematics, GUI (file selector,
dialog boxes), etc. Graphic functions include
support for vector drawing, sprites, colour
palettes, bitmap fonts, hardware scrolling, triple
buffering, mode-X split screens, animation functions
for FLI/FLC, etc. Sound functions include support
for MIDI, WAV, VOC file formats, streaming audio,
the ability to modify the volume, pan, pitch, etc.
QuakeII.NET
QuakeII.NET is a port of the Quake II game engine to
native and managed C++ under Microsoft Visual Studio
.NET 2003 (note: you can find a free version of
Visual Studio .NET listed on my Free C and C++
Compilers page but I'm not sure if the free version
is sufficient for this port). The code has also been
extended to allow the display of radar of items in
the Quake world.
SCI Studio
SCI Studio allows you to create adventure games like
Sierra's King Quest, Space Quest, Police Quest,
Leisure Suit Larry and Quest for Glory, using the
very game engine that Sierra used for those games.
The SCI game development system and the tools
necessary for creating SCI games run on Windows 95,
98, NT, 2000, ME, XP and is free. The site also has
documentation, tutorials, an SCI script compiler and
an SCI disassembler, a demo SCI Quest game (a
multiroom demo game with inventory, doors, etc),
source code to SCI Studio itself, etc.
Heretic and Hexen
Raven Software makes the source code for Heretic and
Hexen available for non-profit use.
Quake III Arena, Quake III Team Arena, Quake II,
Quake
Id Software makes the Quake source code available
from their site, including Quake III Arena, Quake
III Team Arena, Quake II (released under GNU GPL),
and the original Quake (also GPL).
Doom
The Doom source code is available from Id Software
for non-profit use. This source code, unfortunately
for DOS users, only compiles on Linux because
apparently the DOS version uses a third party sound
library. Note that the above link leads to a
downloadable file.
Strategus Real-Time Strategy Game Engine
This real-time strategy gaming engine works across
numerous platforms, including Windows, Linux, BSD,
BeOS, MacOS/X, and MacOS/Darwin. It is released
under the GNU GPL. It apparently has numerous
features, including support for Internet play, an AI
for the computer player, ability to play background
music, and so on (there is no convenient list of
features on their site for me to quote, at the time
of this writing).
Crystal Space free 3D Engine
Crystal Space is an open source 3D engine licensed
under the GNU LGPL and written in C++. Among its
numerous features are coloured lighting, mipmapping,
portals, mirrors, 3D sprites (frame based or with
skeletal animation), alpha transparency, true six
degrees of freedom, procedural textures, radiosity,
particle systems, halos, volumetric fog, scripting,
8-bit, 16-bit and 32-bit display support, Direct3D,
OpenGL, Glide and software renderer, font support,
hierarchical transformations, etc. (List obtained
from their website.)
PLIB Portable Games Library
PLIB is an open source (GNU LGPL) games library that
features sound effects, a complete 3D engine,
font-rendering, GUI, networking, 3D math library,
etc, that is portable across numerous computing
platforms (MacOS; Windows; Unix systems like BSD,
IRIX, Solaris, OS X; etc).
ClanLib Game SDK
This is a platform independent game development kit
that handles sound, display, input, networking,
files, threading, etc, allowing you to concentrate
on your game proper. It is released under the GNU
LGPL and is developed for Linux and Windows. It
handles 2D display (has various drawing primitives
like lines, pixels, rectangles, as well as image
drawing like surfaces and sprites), sound support
(wave, Ogg Vorbis, MikMod, etc), input support
(keyboard, mouse, joysticks), network support, 3D
support (OpenGL), resource management, fonts,
scripting, a GUI framework, etc. DirectX, X11,
DirectFB and OpenGL are supported.
Obsidian
Obsidian is "an open source 3D virtual world for
Linux and OpenGL", providing an "extensible virtual
world system with a fullblown multiplayer
client-server architecture". (Information provided
by the Obsidian website.) It features 3D headsup
with texture mapping, TCP/IP (for operating across
the Internet), a multiplayer client-server
architecture, editable worlds and textures,
interplayer communications, projectile weapons, etc.
Pathlib
Pathlib is a C library for finding optimal paths for
objects in a map, timing objects and their
movements, collision detection and solving of
deadlocks. The library appears to be free.
COLDET 3D Collision Detection Library
ColDet is a free 3D collision detection library for
generic polyhedra. Intended for 3D games, it is free
even for commercial purposes. There are versions for
use with Microsoft Visual C++, Borland C++ and Linux
(g++).
GGL Game Library
This library provides a high level API for game
programmers with support for graphics, devices,
sound, Aritifical Inteligence (AI), real-time video,
loading of graphics formats, advanced sprite
management, network support, maps, etc. It is
written in C and is currently developed under Linux.
Id Software's Wolfenstein
This is the free 3D engine that drove Id software's
famous Wolfenstein program. If you are writing game
software, you probably cannot afford to ignore this.
|
 Games Programming
CATEGORIES :
|
 |