Good evening. This is the problem: static objects twitch, for example, which is clearly visible in the video, part of a column in the background. How to fix it?
Sorry Alexus, I don’t know which static object you’re referring to that is twitching in the video. Do you mean that the animations for the static objects (e.g. grass) are twitchy?
I see what you are talking about now. Do you have multiple sprites on the same Z-axis? If you do, separate them a little bit. If they are overlapping, then the flickering will appear because they are competing to be drawn.
I moved them apart a little and the flickering disappeared, thank you. Is it possible to somehow get rid of flickering, its objects are superimposed on each other in cases where this is necessary for design?
Sorry for the late response, but i’m unsure of whether this is an intentional outcome or accidental.
As in, the placement of the diagonal column is below the map, but could it be functioning normally/as intended in the game view? Or it’s placement in the 3d/perspective view is far on the z axis to appear differently on the camera?
Is it possible to somehow get rid of flickering, its objects are superimposed on each other in cases where this is necessary for design?
You can use the Sorting Layer or Order in Layer properties on the Sprite Renderer to specify which sprites should be rendered first. This should fix the flickering issue.
Otherwise, you can separate objects very slightly on the Z-axis, e.g. -9.99 for one sprite, and -9.98 for the sprite that is supposed to be in front of it.
A quick question: I accidentally opened the development environment in this form, how can I get it back?
Go to Window > Layout and Reset the editor layout. This part of our video talks about it (timestamped for you):