build 0.1.0

This commit is contained in:
Milang 2020-01-11 19:15:06 +01:00
parent b65f39341d
commit 9b7a0a9cca
8 changed files with 515 additions and 508 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@ -329,13 +329,13 @@ void set_level(int n)
GOOMBA(924,16,-1)
};
init_ennemies(ennemies0);
/*
plateforme_t plateforme0[]=
{
PLATEFORME_MOVING_H(15,25,16,1,0,60)
};
plateforme_table_size=1;
init_plateformes(plateforme0);
init_plateformes(plateforme0);*/
}
}

View File

@ -173,7 +173,15 @@ int world_get_real_x0() //mario delta en 0,0
}
int world_get_real_y0() //mario delta en 0,0
{return /*min(*/max(mario.p.y-24,0)/*,w_current_y*8-64)*/;}
{
//static int y=mario.p.y;
static int y=0;
if (y>mario.p.y)
y--;
else if (y<mario.p.y)
y++;
return /*min(*/max(y-24,0)/*,w_current_y*8-64)*/;
}