- Home /
2d topdown parallax
Greetings yet again,
So i've got a topdown 2d space game in which the player can move around in the x and the z axis (but is locked in the y) and we're trying to implement a parallax background. the idea is that the background will move in the opposite direction of the player's speed, at a fraction of the players speed (with layers that are farther away moving slower than layers that are closer to the player.)
We've tried throwing in cubes and planes with textures on them that just use a movement script but part of the problem is that we need to have the background generate itself as the player moves, or find some way of tiling such that the player will never 'run out' of background. The background textures we're using are low res enough that, given the in game scale, we need to keep them smaller than about 1000 by 1000 before it turns into a blurry mess.
can anyone point us to resources that can help with this? or give us some pointers? Material tiling is one thing we think might help but we can't seem to figure out how to utilize it, so if anyone has a good tutorial for that on hand that would be fantastic.
Your answer
