Lite-C
Lite-C | |
---|---|
Publishing year: | 2007 |
Developer: | Atari, Inc |
Current version : | 8.45 (February 9, 2014) |
Typing : | static |
Operating system : | Windows XP, Vista, 7, 8 |
License : | free |
www.3dgamestudio.de/litec.php |
Lite-C is a programming language for multimedia applications and computer games , with a syntax based on the C language . The main difference to C is the native implementation of multimedia / VR elements such as sounds, images, films, GUI elements, 2D and 3D models, collision detection, physics simulation, etc. Lite-C creates executable files with a compiler and runs on the 32-bit and 64-bit versions of Windows XP, Windows Vista, Windows 7, and Windows 8.
In order to facilitate access for non-programmers, the lite-C download includes a 24-lesson workshop that focuses on the multimedia and computer game aspects of language.
Lite-C supports the Windows API and the Component Object Model (COM); therefore OpenGL and DirectX programs can also be written directly in lite-C. The free A8 render engine is integrated in the language .
example
The following lite-C program opens a 3D window and shows a rotating sphere, which of course should also exist as a model in the subdirectory:
void main()
{
level_load(""); // öffne leeren Level
ENTITY* sphere = ent_create("sphere.mdl",vector(0,0,0),NULL); // erzeuge Kugel-Modell an Position (0,0,0)
while(1) {
sphere->pan += 1; // rotiere die Kugel mit 1 Grad per Frame
wait(1); // warte einen Frame
}
}
properties
Lite-C has the following differences from Standard-C :
- Native multitasking
- On-the-fly compiler
- Supports external class libraries (OpenGL, DirectX, Windows API)
- Implementation of the A8 render engine
- Functions for the display / manipulation of 3D models
- Functions for physics simulation
- Functions for vector / matrix algebra
- User interface functions
- Functions for playing sound and movie files
- DirectX 9 native support
- Remote control of any Windows program
- Small size - around 15MB with compiler, IDE, debugger