W
W
WalloutDay2016-04-19 22:53:08
Android
WalloutDay, 2016-04-19 22:53:08

Unity infinite background on two axes in 2d game?

Need help. I'm making a toy with a top view. But I ran into a problem, the map is almost endless, and the background is monotonous waves. How can I make it so that I don't have to manually cover the entire map. And is it possible in some way to simply move the pictures after they have gone beyond the edge of the camera in the direction of the player's movement? How?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Alkhimenko, 2017-09-13
@WalloutDay

You can check the position of the character by x or the camera. And when x == endPoint then move the picture forward so that the character is at the zero point. Or attach a background so that it moves behind the character. Or you can generate a new sprite when the player reaches the end point

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question