build 0.1.0
This commit is contained in:
parent
b65f39341d
commit
9b7a0a9cca
BIN
SuperCbr.g1a
BIN
SuperCbr.g1a
Binary file not shown.
Binary file not shown.
Binary file not shown.
1009
build-fx/map
1009
build-fx/map
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
|
@ -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);*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
10
src/world.c
10
src/world.c
|
@ -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)*/;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue