Also
31/08/2004, 22:19
no consigo q funcione el modo7 en fenix, he escrito lo siguiente:
If(key(_enter)) start_mode7(0,fpg,1,0,0,64);End
sin embargo cuando doy a enter no hace nada,sin embargo si en vez de start_mode7 pongo start_scroll si que funciona, el fpg tiene 2 graficos el splash screen y el modo 7, y tiene 16bpp
EDITO:Pego el código:
Program karts;
Private
fpg;
Begin
Graph_mode=mode_16bits;
set_mode (M320x240);
fpg=load_fpg("game.fpg");
ctype=c_m7;
put_screen(fpg,2);
Loop
Frame;
If(key(_tab)) exit(" ",0);End
If(key(_enter)) start_mode7(0,fpg,1,0,0,64);End
If(key(_right)) x+=2; End
If(key(_left)) x-=2; End
If(key(_up)) y+=2; End
If(key(_down)) y-=2; End
End
m7.camera=id;
m7.height=64;
m7.distance=32;
m7.color=162;
m7.camera=id;
End
If(key(_enter)) start_mode7(0,fpg,1,0,0,64);End
sin embargo cuando doy a enter no hace nada,sin embargo si en vez de start_mode7 pongo start_scroll si que funciona, el fpg tiene 2 graficos el splash screen y el modo 7, y tiene 16bpp
EDITO:Pego el código:
Program karts;
Private
fpg;
Begin
Graph_mode=mode_16bits;
set_mode (M320x240);
fpg=load_fpg("game.fpg");
ctype=c_m7;
put_screen(fpg,2);
Loop
Frame;
If(key(_tab)) exit(" ",0);End
If(key(_enter)) start_mode7(0,fpg,1,0,0,64);End
If(key(_right)) x+=2; End
If(key(_left)) x-=2; End
If(key(_up)) y+=2; End
If(key(_down)) y-=2; End
End
m7.camera=id;
m7.height=64;
m7.distance=32;
m7.color=162;
m7.camera=id;
End