How to make 2D platform basics

the rending sequence is from top to bottom.
like, first rend layer0 --->layer1--->layer2---->layer3.so the background will be rendered behide.

the rending sequence is from top to bottom.
like, first rend layer0 --->layer1--->layer2---->layer3.so the background will be rendered behide.