Shadow20 Posted January 4, 2014 Share Posted January 4, 2014 I have an idea to make a menu and other components in a game with 3 pieces or images, like a start and an end then a middle piece that will repeat as often as needed to make it as long or tall as needed. I have some difficulty thinking of how to implement it though? If possible, some advice on implementing or anything else is appreciated. Another thought i had was to use a tilesprite with the background then render the frame and text on top of the tilesprite. would this be a better alternative? Thanks in advance. Link to comment Share on other sites More sharing options...
XekeDeath Posted January 4, 2014 Share Posted January 4, 2014 I would use the TileSprite approach. It repeats the image automatically, and you don't need to worry about calculating scale values. Do note that the TileSprites do not work with input. When I did something very similar to this, I created an invisible sprite that was the same size as the TileSprite to handle all input. Shadow20 1 Link to comment Share on other sites More sharing options...
Shadow20 Posted January 4, 2014 Author Share Posted January 4, 2014 thanks for the tip, ill go with that and see how it goes then Link to comment Share on other sites More sharing options...
Recommended Posts