Hello, i am newbie here. I am using unity 2D Toolkit. I want to know how to create an infinite 2D terrain like the image attached? Is there any tutorial for this? Thanks.
There is no image oO
will like the one on this link : http://www.unikronsoftware.com/2dtoolkit/ the curve path under the heading sprite batcher
Yes itis possible, but this 2D ToolKit can not make an infinite terrain. For an infinite terrain you need to, I think ( as there is no one way), move the ground around your player. So, the player stays still, maybe he can jump, so y can change but x stays the same.
For the ground to be infinite, lets say you have a piece of ground. Make it so that you can put two pieces of ground side by side and they mesh seamlessly. Now, put the grounds under one transform. You can now move that transform via translate() in an Update(). Your ground is now moving.
How to create the infinite illusion, is by starting the player in the middle of the first grounds. When he gets to the middle of the second grounds, you can reset the position of the grounds, relative to the player, to be at the middle of the first. Now, you have an infinite looping ground.
Use triggers, to create the loop.
Thanks but the problem i am facing is how to create hills