Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: bezii on August 20, 2014, 06:35:14 PM
-
Hi,
Is it possible to scroll things on a curved shape ?
Like:
(http://s28.postimg.org/72hnm4uu5/Assassins_Creed_III_small_367.jpg)
http://s28.postimg.org/72hnm4uu5/Assassins_Creed_III_small_367.jpg
?
-
Anyone? It is really important.
-
Sure is, but not with anything NGUI have already, you must write your own controller.
-
Ok, thanks for the info.
-
Totally possible. You might run into some issues getting it to clip in a non rectangle, but that's solvable. In fact, weren't you gonna implement stencil masks for clipping on UIPanels, ArenMook? ;)
-
Lay the buttons out in a circle, sort of an invisible wheel.
Then touch drag to rotate the wheel.
-
Lay the buttons out in a circle, sort of an invisible wheel.
Then touch drag to rotate the wheel.
That is indeed the easiest thing to do.
Alternatively just stick to a regular scroll view where items move up and down, but write a script placed on the scroll view's items that will change their X position based on their Y position. Trivial stuff.