I'm creating an Autorunner game where the platforms appear randomly in different lengths and i wanted to create a platform that looks quite realistic in the sense that the sides are not just straight rectangle lines but are sort of rugged or curved off.
Is there a way that i can use a image with rugged edges (or something similar) as my platform and the image appears correctly as a long or short platform depending on the size.
I'm having trouble trying to word this properly as it's a bit complicated to explain, so i can understand if anyone is confused. I've provided a capx file, which is just the Autorunner template. What i've done with this is added a platform image that i just quickly photoshopped from an image and inserted it into the game.
In the capx, you can see that if it's a short platform, it just cuts the image rather than resizing and if it's a long platform then it respawns the image and theres a gap in between, which doesn't look great. I know why there is a gap, as i'm using a tiled background as my platform and my image isn't really sutible for that.
If i wanted to use the image in the capx as my platform, how do i do that?