Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | rguerreiro |
Hello! I’ve recently started to test Godot and decided to build a small jigsaw puzzle game.
So my idea is to use the same image to create the pieces and using a sprite mask for it, but I’m having 2 issues with this approach:
For some reason, Godot can’t set the position of my nodes when it uses a Light2D, which I’m using to create the mask.
I have a working example using just the icon without the mask, but it doesn’t work with the mask.
Pieces are spread evenly without Light2D:
Pieces in the corner using the same script as before, the difference is that each piece has a Light2D in it:
Does anybody know what could cause this issue?