In workshop04, i replace first.pcx with my test file test.bmp(24bit depth)
test.bmp but when script04.wdl running , the test.bmp looked like this
test.bmp in running some color lost in green part!
How can resolve this problem?
And how can i use .jpg file,Gamestudio seem do not support .jpg file?
following is script04.wdl
////////////////////////////////////////////////////////////////////
var video_mode = 7; // 800x600 pixels
var video_depth = 32; // 32 bit mode
////////////////////////////////////////////////////////////////////
bmap first_pcx = <test.bmp>; //<first.pcx>; // my first panel
////////////////////////////////////////////////////////////////////
string work04_wmb = <work04.wmb>;
////////////////////////////////////////////////////////////////////
panel first_pan
{
bmap = first_pcx;
pos_x = 0;
pos_y = 0;
layer = 1;
flags = overlay, refresh, visible;
}
/////////////////////////////////////////////////////////////////////
function main()
{
level_load (work04_wmb);
}