YeOldeDM / free20

GNU General Public License v3.0
2 stars 0 forks source link

Radial Menus around selected map actors #16

Open YeOldeDM opened 7 years ago

YeOldeDM commented 7 years ago

Neverwinter Nights style. CircularContainer could make this pretty easy to pull off!

image

YeOldeDM commented 7 years ago

insta

The basic behavior is all built into CircularContainer. The trick will be making it interactive and generalized. It will basically be a tree structure with a root set of options; each option either an actual option, or a sub-category of options.
When you "expand" a sub-category, its button becomes the new center and its options radiate. Clicking on this center button goes back/up the options tree.

The options data itself can probably be a Dictionary. Keys will be option name/icon refs, values either a method call or a dictionary of options.