Hello Guest

Author Topic: background sprite  (Read 3153 times)

mountS

  • Newbie
  • *
  • Posts: 5
    • View Profile
background sprite
« on: June 28, 2014, 10:49:48 pm »
quick question, let's say I want a black background sprite, all I have to do is to have a small, let's say 32X32 black image and
now I need to resize is myself or does 2dtk does it for me?

makes no sense to me that if I want a background I need to actally imort 640 X 960 black image. also someone told me not to scale sprites (it can break unity batching or something), so I don't know what to do

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: background sprite
« Reply #1 on: June 28, 2014, 11:08:11 pm »
You can scale if you use the tk2d sprite scale property. That wont break batching.