Author Topic: Performance - Large sprite with scrollview  (Read 303 times)


  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Performance - Large sprite with scrollview
« on: July 16, 2017, 09:27:48 AM »
Just a quick question, I have a large world map panel that is controlled by a scroll view, it's used on a mobile system to scroll across the map but I'm worried about performance and/or the performance of future updates.

Is there anyway to slice then cull the image into parts accordingly or any way to ensure smooth performance no matter the size of the image?

Thank you


  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,149
  • Toronto, Canada
    • View Profile
Re: Performance - Large sprite with scrollview
« Reply #1 on: July 22, 2017, 02:30:38 PM »
Scroll views are very efficient in NGUI. There is little penalty for moving scroll views as doing so moves the panel, meaning moving the entire draw call. You can turn off culling on the scroll view to make it have zero performance cost while dragging.