Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] - [MatrixUtils] Sunburst Menu (Sims Style)

Author
Message
Mr909
7
Years of Service
User Offline
Joined: 2nd Jun 2012
Location:
Posted: 20th Nov 2012 00:13
Awesome, right?
Well, here is a skeleton for a "Sunburst" or "Flower" menu. Basically, whenever you click it, options come out of the center, and you can select an item. Currently, instead of Sims-style mouse-based control (which used to frustrate the heck out of me when the collision boxes decided to be sensitive), you control the actual menu using the arrow keys. Any number of items are accepted, but bear in mind that max_distance and max_radius should probably change for larger array indices. It's quite plausible to use this system dynamically, as the Sims did, to call different menus on the fly based on what is clicked.

MrValentine
AGK Backer
8
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 20th Nov 2012 01:27
Quote: "Awesome, right?"


YUP...

I like it, and think this is great for RTS style games or strategy games...

Phaelax
DBPro Master
16
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 20th Nov 2012 06:21
Neat concept.

"You're not going crazy. You're going sane in a crazy world!" ~Tick
Mr909
7
Years of Service
User Offline
Joined: 2nd Jun 2012
Location:
Posted: 20th Nov 2012 20:01
Thanks guys!

Login to post a reply

Server time is: 2019-06-16 14:21:13
Your offset time is: 2019-06-16 14:21:13