Why are there black boxes around every sprite?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By RubberDiplomat

Due to some unforeseen consequences, my install of Windows 10 corrupted so I installed Xubuntu. I lost my project in the install, so I decided to remake it.
While remaking it, I ran into an issue:
In the editor:
In the Editor
When I run the game:
When I run the game

I’m using the same assets as before and didn’t have this issue.

:bust_in_silhouette: Reply From: DaddyMonster

That’s because your background is black and not transparent. Not an issue, just go into your material, find “Parameters” and change the “blend mode” from “mix” to “multiply” (Mul). When you multiply by zero in the black parts which is obviously zero so it’ll become transparent.

EDIT: thinking about it, it could also be that it is transparent and the transparency flag isn’t set. You might also have been using alpha scissors. Just play about with the settings if multiply doesn’t work as it depends on the data in your image.