I am attempting to create a vertical shoot em up (shmup) that could go on infinitely.
I would like to create the level out of modular piece that continously cycle as the “player” moves “up”. In reality the play won’t move, but the level tiles would, creating the effect of infinite terrain.
How can I even begin to go about this design? also, the pieces should have to be the exact same size.
Well, create a plane, give the material you want to use, then create a second one identical (or not).
Give it a script like this:
function Update(){
transform.position+=10*Time.deltaTime;
if(transform.position>aValue)transform.position = startValue;
}
[3903-présentation1.jpg|3903]
[3904-présentation2.jpg|3904]
On the picture, there is a fix image (blue) which stands for the camera view, the other ones have transparent and only some stars creating the feeling of movement. Good point, you can have two layers of stars with on top a fast one, then a slower one below and finally the fix one.