if (isbrick(base.x, base.y) ||
isfullbox(base.x, base.y))
{
- Sector::current()->trygrabdistro(
+ Sector::current()->trygrabdistro(
Vector(base.x, base.y - 32), BOUNCE);
Sector::current()->trybumpbadguy(Vector(base.x, base.y - 64));
if (isbrick(base.x+ 31, base.y) ||
isfullbox(base.x+ 31, base.y))
{
- Sector::current()->trygrabdistro(
+ Sector::current()->trygrabdistro(
Vector(base.x+ 31, base.y - 32), BOUNCE);
Sector::current()->trybumpbadguy(Vector(base.x+ 31, base.y - 64));
{
Sector::current()->trygrabdistro(Vector(base.x, base.y), NO_BOUNCE);
Sector::current()->trygrabdistro(Vector(base.x+ 31, base.y), NO_BOUNCE);
-
Sector::current()->trygrabdistro(
Vector(base.x, base.y + base.height), NO_BOUNCE);
Sector::current()->trygrabdistro(
if(size == BIG)
{
- Sector::current()->trygrabdistro(
+ Sector::current()->trygrabdistro(
Vector(base.x, base.y + base.height / 2), NO_BOUNCE);
Sector::current()->trygrabdistro(
Vector(base.x+ 31, base.y + base.height / 2), NO_BOUNCE);
{
if (dying == DYING_SQUISHED)
{
- smalltux_gameover->draw(context, pos, LAYER_OBJECTS+1);
+ smalltux_gameover->draw(context, pos, LAYER_FOREGROUNDTILES+1);
}
else
{