Hello guys I am making a 2d game and I need fully transparent rectangles with black borders, I couldn’t do it in unity so I used tiled to do that so I made line sprites and added them to tiledtounity and added the maps to unity, So what I have now is:
Transparent Rectangles with black borders drawn with tiled, But every time I move inside the game the lines appear disappear or have like 50% alpha to them I want that to stop I want to draw them all pure black without flickering or changing every time I move camera I tried to make the camera size 3 and that worked but I don’t want my camera size to be 3 I want it to be 6-7, So how can I fix that?, Here is a image of the effect

This is 1 image from the game each time I move some of them reappear or just flicker in general how can I fix that?, I also tried to make the lines 2 pixel thick instead of 1
I don’t fully understand your issue, can you make a gif of or upload a small example project?? Also are you using different sortingLayers? which elements are in which layer?
I am extremely sorry for my bad explanation of the situation, I hate to be a set back for this great community
I am trying to make rectangles in my rpg and I made a rectangle in paint.net and added it to tiled if you add the following to tiled and make the width and height of every sprite 32 pixels you will be able to make rectangles inside your game here is the rectangle file

Now I just discovered the game works fine in free aspect, But becomes buggy in android portrait mode or any screen that resembles android portrait mode like 800x1280 resolution, Now here is what my fixed game looks like in free aspect
( The way it was intended to be)

Everything is normal in landscape mode and in free aspect but when I get into portrait mode the screen looks like the pictures below every time I move the camera my rectangles either disappear or become 50% transparent or display normally Like the pictures below these pictures are in the same area as the picture above as you can see something is wrong cuz the lines keep rendering in an odd way the pictures below should be like the picture above but they become weird each time I move the camera they keep changing when I stop moving the camera they stop changing and become buggy like the pictures below if you need anything just tell me and I will supply it, Again sorry if my first explanation wasn’t good enough I hate wasting people’s time ![]()


Well it seems the problem was in my intel HD graphics, So my emulator and unity editor were flickering but it works fine in my phone, Thank you all for your interest in helping me and solving my problem, Highly appreciate it
That’s great! I never heard of that issue with Intel HD… I’ll remember this information, I’m gald you sorted this out!