Ok so im getting better at Lite-C (I can actually write my own lines of code now. However somethings come up i dont understand... i load an object, and can change its size and position. But none of its red, green, blue (Lite-C seems to think these should be in reverse order :s) or ambient properties work, running this program... the result is a blue background and a white object....
================================================================
#include <acknex.h>
#include <default.c>

ENTITY* FLOOR;

TEXT* Announcement =
{
pos_x = 320;
pos_y = 240;
flags = VISIBLE;
}

function main()
{
video_mode=7;
level_load("");
FLOOR = ent_create ("plain3d.x", vector(-400, 0, 100), NULL); // create the ball
wait(2);
camera.x = 25;
camera.y = 25;
camera.z = 25;
FLOOR.scale_x=5;
FLOOR.z = -5;
FLOOR.red = 0;
FLOOR.green =0;
FLOOR.blue =0;
FLOOR.ambient = 25;
while (1)
{
wait(1);
}
}
================================================================
FYI "plain3d.x" is just a flattened cube (its a shame there isn't simply a "createcube" function like in blitz3d).


I am a noob to this... Blitz3D is where i am best at!