2D Toolkit Forum

2D Toolkit => Support => Topic started by: JonRemedios on February 11, 2015, 03:32:13 pm

Title: Repeat Texture While Scaling
Post by: JonRemedios on February 11, 2015, 03:32:13 pm
Hey there,

I was wondering if 2D Toolkit allowed for textures to be repeated instead of stretched when the associated game object has been scaled, and if so how does one go about accomplishing that?

Thanks so much!
Title: Re: Repeat Texture While Scaling
Post by: unikronsoftware on February 11, 2015, 03:42:29 pm
You can use a tiled sprite, it'll tile the texture, but you'll need to use the dimensions field instead of scaling it.
Title: Re: Repeat Texture While Scaling
Post by: JonRemedios on February 13, 2015, 09:23:29 pm
Thanks so much! That's exactly what I needed.