Hello Guest

Author Topic: Repeat Texture While Scaling  (Read 3329 times)

JonRemedios

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Repeat Texture While Scaling
« 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!

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: Repeat Texture While Scaling
« Reply #1 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.

JonRemedios

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Repeat Texture While Scaling
« Reply #2 on: February 13, 2015, 09:23:29 pm »
Thanks so much! That's exactly what I needed.