1
Graphics / Re: easiest way to repeat a texture to fill a rectangle
« on: May 05, 2013, 10:59:32 pm »
the texture is set to repeat, and the area is huge compared to the texture. but it only stretches a single copy of the texture to fill the the rectangle.
edit: derp, didnt notice the need for textureRect as apposed to rectangleShape. ill check it out
edit: k figured it out. didn't know you had to set a sprite's textureRect to be the size of the rectangle i wanted to fill. thanks for the help!
edit: derp, didnt notice the need for textureRect as apposed to rectangleShape. ill check it out
edit: k figured it out. didn't know you had to set a sprite's textureRect to be the size of the rectangle i wanted to fill. thanks for the help!