Halo.
I have created a ground for my player to run on in 2d mode. To create the ground, i have resized my texture to fill the screen. Also i have scaled the texture horizontally and animated it to get a scrolling feel
making use of its horizontal offset values. Now the problem i face is that i want to get gaps between repeating(or scaling) textures so that if the player enters those zones, the player falls into infinity thus ending the game. Currently the texture just scales horizontally and i couldn;t figure out a way to create gaps in between. Any help is appreciated.
Can you give more details how currently your ground texture repeats itself?
@madruytb Ya I have set the WrapMode to ‘repeat’ on the Sprite and scaled it horizontally