TonmaLe 05/12/2018 à 09:53
In your code at Title_mvs, every frame you init the same picture, you must init only one time in your loop function like :
// main loop ////////////////////////////////////////////////////////////////////
void USER(void)
{
int demo_timer=600;
int flash_timer=0;
int P1_continue_timer=0;
int P2_continue_timer=0;
int P1_game_over_timer=0;
int P2_game_over_timer=0;
int P1_input_delay=0;
int P2_input_delay=0;
int AES_user_mode=0;
int AES_P1_credits=0;
int AES_P2_credits=0;
int AES_P1_state=0;
int AES_P2_state=0;
LSPCmode=0x900;
initGfx();
clearFixLayer();
clearSprites(1, 381);
palJobPut(0,9,fixPalettes);
pictureInit(&logoNsmPict, &nsmlogo1, 210, 17,16,40,FLIP_NONE);
palJobPut(17,nsmlogo1.palInfo->count,&nsmlogo1.palInfo->data);
pictureInit(&jetPict, &jet, 160, 18, 10,10,FLIP_NONE);
palJobPut(18,jet.palInfo->count,&jet.palInfo->data);
SCClose();
while(1)
{
And pictureInit(&jetPict, &jet, 160, 18, 10,10,FLIP_NONE); takes more than a tile.
Jet -> 209 and logo->210. I think you need at least 2 sprites for jet so something like jet -> 208 and logo -> 210