PANEL* main_menu =
{
bmap = image_menu;
button = 300, 200, image_join_on, image_join_off, image_join_on, NULL, NULL, NULL;
flags = VISIBLE;
}
//loads the menu
function load_menu()
{
main_menu.size_x = 800;
main_menu.size_y = 600;
main_menu.pos_x = (screen_size.x - 800) / 2;
main_menu.pos_y = (screen_size.y - 600) / 2;
}
function main()
{
while(1)
{
wait(1);
}
return 0;
}
thats the panel. i couldnt get it to work properly when i put my mouse over it... so i decided to create a level for the background... but that wont work either. all the level contains is a sphere with an earth-like skin. When it loads, it says "error loading planet.mdl". is there something you have to do to a model after u put it into an empty map? i was just thinking of having a planet rotating in the background of the menu.
Last edited by pewpew; 11/05/08 23:07.