Hi guys,
I’m making simple 2d game that is an clone of the classic arkanoid game.
I want to make the paddle to have dynamic width.
I’ve made the sprite inside photoshop, and want to make it be dynamic.
I know i can do this if my paddle is inside a canvas and there i can use the 9-slice feature to make the middle stretch, but i want to do it without using canvas.
Do you have any idea how i can achieve this ?
Here is an screenshot of the paddle.
I want the middle to tile itself and the left and right sides of the paddle to stay the same.