Author Topic: GUI Grid with pages  (Read 2130 times)

coxy17

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 23
    • View Profile
GUI Grid with pages
« on: May 08, 2017, 09:16:34 AM »
Hi

Im trying to build a level select menu in NGUI and i just wanted to ask what is the best way to approach building the following example?  http://docs.madpixelmachine.com/madlevelmanager/Theme2Demo



I have looked into using Grid with a Scroll Panel but i need to somehow create anchors and pages too. Not sure what i can use to offset the grid so i can get this to work. I dont need help with making the GUI stuff, just wanted to see if i can achieve the demo above in NGUI or if it is not possible.

Nick

yo_milo

  • Newbie
  • *
  • Thank You
  • -Given: 10
  • -Receive: 2
  • Posts: 36
    • View Profile
Re: GUI Grid with pages
« Reply #1 on: May 10, 2017, 11:23:37 AM »
I usually create a Panel with clipping on, then I separate my "Pages" in "Widgets" (Alt+shift+W).

If set up your levels, you can use a grid; Look at the demos, while I believe they do not have a "Menu" like that, they do have examples that resemble what you want to do.

Sadly, my most recent "Level Selection" was not made with NGUI.

coxy17

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 23
    • View Profile
Re: GUI Grid with pages
« Reply #2 on: May 10, 2017, 01:43:16 PM »
hi

ok ive managed to do it now, the widgets made sense and i just had to mess about with offsetting the anchors, works like a charm.

Thanks Dude!

Nick