Disable outline effect smoothing


I would like to add a pixel perfect outline to this layer, but it adds pixels in between to smooth the outline. Would it be possible to make the outline align with the rest of the pixels in the game?

Maybe javascript could be used to disable antialiasing? Although I’m not experienced in javascript, any tips on how to access that part of the layer effect?

Try unticking the smooth image checkbox in resources:


This is with smooth image


And this is without smooth image:

Thank you, but I was looking to sharpen the corners of the outline to not be smoothed. I don’t think this can be done without javascript code though.

I think its somehow connected to camera zoom
like change it and you will see difference in outline

Also there is no real outline there
But best to explain it just set outline thickness to 44 and check what happens
And that is how outlines are made

Oh I see that now, thank you!

1 Like

Instead of zooming the camera, you could set the game resolution to match your assets and then resize the window instead. This way all effects will be at the same resolution… the tradeoff is that you can’t have anything else at a higher resolution, which can make text and interface stuff a bit more difficult

1 Like