You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes part of the shadow will be still displayed after game over. This happens when the shape's new position is not valid and is less than the END_POS. The shape won't be placed on the grid, but part of the shadow could still be there because the shapes start falling from above the grid.
We could either remove those grid cells having their Color.alpha value distinct from 1 (that means they are transparent and that means they are part of the shadow) or try to make sure we only draw a shadow if the whole shadow is on the visible grid.
The text was updated successfully, but these errors were encountered:
Sometimes part of the shadow will be still displayed after game over. This happens when the shape's new position is not valid and is less than the
END_POS
. The shape won't be placed on the grid, but part of the shadow could still be there because the shapes start falling from above the grid.We could either remove those grid cells having their
Color.alpha
value distinct from 1 (that means they are transparent and that means they are part of the shadow) or try to make sure we only draw a shadow if the whole shadow is on the visible grid.The text was updated successfully, but these errors were encountered: