Mid-boss shadows cut out when x < 0
Closed this issue · 2 comments
jaygarcia commented
michaeltintiuc commented
@Aaron-Goldman perhaps you'll have no more luck with this, from what I gather it seems like the shadow is being clipped in GAnchorSprite here:
TRect r = mShadow;
r.Offset(x - aViewPort->mWorldX + aViewPort->mOffsetX, y - aViewPort->mWorldY + aViewPort->mOffsetY);
if (aViewPort->GetRect().Overlaps(r)) {
...render shadow
}
The above returns false when shadow center is outside viewport, but this doesn't happen for other enemies.
jaygarcia commented
Good to see it's not an issue w/ FillCircle() :)