Lite-C is an open source programming language created in 2007.
#1423on PLDB | 17Years Old |
Lite-C is a programming language for multimedia applications and personal computer games, using a syntax subset of the C language with some elements of the C++ language. Its main difference to C is the native implementation of multimedia and computer game related objects like sounds, images, movies, GUI elements, 2D and 3D models, collision detection and rigid body physics. Lite-C executables are compiled instead of interpreted. Read more on Wikipedia...
void main()
{
level_load(""); // open an empty level. you can use NULL instead of ""
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 sphere with 1 degree per frame
wait(1); // wait one frame
}
}
Feature | Supported | Example | Token |
---|---|---|---|
Comments | ✓ | // A comment | |
Line Comments | ✓ | // A comment | // |
Semantic Indentation | X |