Author Topic: controling sprite tiling?  (Read 1985 times)

pretender

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 155
    • View Profile
controling sprite tiling?
« on: December 04, 2014, 08:27:11 AM »
How it is done?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: controling sprite tiling?
« Reply #1 on: December 05, 2014, 12:43:06 AM »
I don't understand the question. Control it how?

pretender

  • Full Member
  • ***
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 155
    • View Profile
Re: controling sprite tiling?
« Reply #2 on: December 05, 2014, 05:45:44 AM »
i was thinking about scale or repeat of tile

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: controling sprite tiling?
« Reply #3 on: December 05, 2014, 03:06:48 PM »
The only way to control that (and to lose pixel crispness) is to adjust the width/height by one value, and the widget's transform scale by the inverse of that value, so that it appears to remain the same size, but pixel density changes.