Author Topic: Where do I start when creating a circular menu  (Read 3486 times)

Bernard Parsons

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Where do I start when creating a circular menu
« on: April 03, 2014, 02:18:39 PM »
Just need a little nudge on this one. there's are no documentation from anyone that has done a menu like this, and right now I'm almost in the process of buying an already design one from the assets store and it does not support NGUI.
I would rather use NGUI for this, but I could use some help on this one.
Need help ASAP! :)

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Where do I start when creating a circular menu
« Reply #1 on: April 03, 2014, 09:44:43 PM »
Do you mean like a wheel, or like coverflow?

Edit: Looking at your other post I'm guessing you were talking about a radial menu. That's not that difficult. Having an object in the UI hierarchy, you will be adding children that are X distance away, rotated by a certain angle. You can get bonus point for making the transition smooth by taking advantage of tweens -- tween position for the offset, tween rotation for the angle. Going down this route you will need to set up a hierarchy several objects deep for each button though.

Bernard Parsons

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 9
    • View Profile
Re: Where do I start when creating a circular menu
« Reply #2 on: April 04, 2014, 07:34:06 AM »
Hi there!
I started testing using the tween position on press on a center button or the avatar for example. The avatar will be the point of origin. The menu comes out like I want it to, but then when I try to move the mouse to a sub menu the button goes away. For me getting the menu button that pop out to stay is my issue, it seems to loose its connection once I move the mouse courser away from the center button. I'm using the press option cause I don't want the menu present at all times, only when I press and hold on the avatar to show it's options.

Also at first I really didn't want a wheel menu, but it would almost act like one, but the effect is the same. Click on an avatar to bring up a menu then from there another menu with options for emotes.

I'm adding a snap shot of my menu, it starts with a two button pop up and then when you hover over the emotes button it will display the icons, from there you would select the emote of your choice to make the avatar react.

I really don't expect you to give me a full tutorial on this, but if I could have a bit more of an understanding of how to do this would be very much appreciated. Also if you know of any links that could help that would be great also.

Thanks!
« Last Edit: April 04, 2014, 07:55:22 AM by Bernard Parsons »