This commit is contained in:
Sander Schobers 2019-12-27 23:53:34 +01:00
parent cc58dbd06f
commit 856069d5b2

View File

@ -206,7 +206,7 @@ func (l *playLevel) Render(ctx *alui.Context, bounds geom.RectangleF32) {
case tileMagma:
l.drawSpritePart("magma", "magma", pos.ToF32())
if l.state.IsFilledUp(pos) {
l.drawSpritePartOffset("brick", "brick", pos.ToF32(), .8)
l.drawSpritePartOffset("brick", "brick", pos.ToF32(), 80)
l.drawSpritePart("magma", "sunken_overlay", pos.ToF32())
}
}