Lite-C
Lite -C is a programming language for multimedia applications and computer games, with a style similar to the C language syntax. The main difference with C is the native implementation of multimedia / VR elements such as sounds, images, movies, GUI elements, 2D and 3D models, collision detection, physics simulation, etc. Lite -C generates executable files with a compiler that runs on 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 24 tutorials workshop which deals in particular with the multimedia and computer game aspects of the language.
Lite -C supports the Windows API and the Component Object Model (COM ); therefore, OpenGL and DirectX programs can be written directly in lite -C. In the language of the free A8 render engine is integrated.
Example
The following lite -C program opens a 3D window and shows a rotating ball, which should of course also exist as a model in the subdirectory:
Void main () { level_load ( ""); / / Open empty level ENTITY * sphere = ent_create ( " sphere.mdl ", vector ( 0,0,0), NULL); / / Create sphere model at position ( 0,0,0) while (1 ) { sphere - > pan = 1; / / Rotate the ball with 1 degree per frame wait (1 ); / / Wait one frame } } properties
Lite-C has the following differences from the 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
- To user interfaces
- Functions for playing sound and movie files
- Native support for DirectX 9
- Remotely control any Windows programs
- Small size - about 15 MB with compiler, IDE, debugger