Posted By: dd231
View over Panel - 09/24/12 04:27
Can someone tell me why the VIEW* won't overlay the PANEL*? The panel and view are visible and view layer is greater than the PANEL* layer so it should be visible when the panel shares the x and y position, however it doesn't
Code:
VIEW* mini_map = { layer = 3; pos_x = 1400; pos_y = 0; size_x = 300; size_y = 250; tilt = -90; PANEL* side_panel = { layer = 1; bmap = panel1; size_x = 300; size_y = 800; flags = SHOW; } function handle_panels() { mini_map.pos_x = screen_size.x - mini_map.size_x; //places mini map at far right of screen mini_map.pos_y = screen_size.y - (screen_size.y-22); //places mini map at very top of screen within border // side_panel.pos_x = screen_size.x - side_panel.size_x; //places side panel at far right of screen side_panel.pos_y = screen_size.y - screen_size.y; //places side panel at bottom of screen // vec_set(side_panel.scale_y,vector(2,0,0)); }