physic.set_velocity_y(.1);
}
- if(fabsf(hit.normal.x) > .5) { // hit on the side?
- printf("s"); fflush(stdout);
+ if(fabsf(hit.normal.x) > .9) { // hit on the side?
physic.set_velocity_x(0);
}
--player_status.lives;
dying = DYING_SQUISHED;
dying_timer.start(3.0);
+ flags |= FLAG_NO_COLLDET;
}
}