ok, heres the new code, for some reason now it takes forever to load, and when it does the screen is just black, What am i missing? Im really sorry for bugging you all with this.

////////////////////////////////////////////////////////////////////
#include <acknex.h>
#include <default.c>
////////////////////////////////////////////////////////////////////


BMAP* firebackground = "awesome-fire-dragon-ablaze.jpg"; // dragon fire background with button on it

PANEL* first_pan = // my first panel
{
pos_x = -40;
pos_y = 0;
layer = 1;
bmap = firebackground;
button(300, 0, "stopclicked.jpg", "stopnormal.jpg", "stopnormal.jpg", quit_program, NULL, NULL);
flags = OVERLAY | VISIBLE;
}
BMAP* pngRobot = "LDDScreenShot1.png"; // robot in foreground

PANEL* second_panel =
{
pos_x = -270;
pos_y = -100;
layer = 2;
bmap = pngRobot;
flags = OVERLAY | VISIBLE;
}

/////////////////////////////////////////////////////////////////////

function main()
{
video_mode = 7;
level_load("");
screen_color.red = 100;
}


function mouse_startup()
{
mouse_mode = 1;
while (1);
{
vec_set(mouse_pos, mouse_cursor);
wait(1);
}
}


Last edited by gamingfan101; 06/10/09 22:12.

Sorry, im new. I have a tendency to ask really simple questions, so please be patient.