Ok i am getting a black screen problem! here is my code:
================================================================
///////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////////////////////////////////////
fps_max=100;
VECTOR camera_rot;
ENTITY* picture;
wait(5);
camera.x = 0;
camera.y = -500;
camera.z = 0;
picture=ent_create( "untitled.bmp",vector(0,0,0) )
function main()
{
vec_set(camera_rot,picture.x);
vec_sub(camera_rot,camera.x);
vec_to_angle( camera.pan ,camera_rot);
wait(1);
}
=============================================================
"Untitled.bmp" is a picture in the same directory as the script. The code in the func_main should make the camera point at the loaded sprite... but doesn't! Besides the shareware logos the screen is blank!