Not logged inGosu Forums
Forum back to Help Search Register Login
Up Topic Gosu / Extending Gosu / Secret of Mana-style radial menu for Chingu
- By erisdiscord Date 2010-05-02 19:50
For those not familiar with Secret of Mana, the menu system looked something like this. I always thought it was the best thing since fried dough, and I recently half-remembered an old implementation I made years ago with Perl and SDL. I figured I could do it again, this time in Ruby, and make it better than before—and here it is.

gosu-ring on github

Probably needs some cleanup and a little refactoring because it was written between 2:00 and 5:00 this morning before I went to bed. It's there, though, and you're free to use it as you see fit. Same license as Gosu for simplicity's sake. Please submit any improvements back to me. :)

I might be renaming it "Chingu Ringu" because I thought of it this morning and it made me laugh.
- By banister Date 2010-05-02 23:44
"Chingu Ringu" made me laugh too. +1

- By jlnr (dev) Date 2010-05-03 01:49
Haha, nice. Now rewrite the rest of the game immediately! :D
- By erisdiscord Date 2010-05-03 01:58
Aaahhh right away, boss. As soon as I can say applying_matrix(…) { … }, that is. ;D

It really is a dream of an interface for a small menu, isn't it?
- By kyonides Date 2010-05-03 05:57
Making a basic ring menu isn't difficult, but making all options rotate adequately is what I don't know but I'd really like to know how I should do that.
- By Trebor777 Date 2010-05-05 22:50
Here is my own I did ages ago and adapted it for Chingu as well :p
If you want to have a look.

It's a general purpose menu, that also supports "vertical" rings, or can fake "perspective" ring :p, different resolution for the rotation as well :)
anyway here's the code
- By kyonides Date 2010-05-05 23:28
That script looks promising, thanks for sharing it.
- By erisdiscord Date 2010-05-07 03:59
Hmm. I love the idea of "rotating" the array contents, although I don't feel comfortable with monkey patching Array to add functionality that just one other class is using. Perhaps a subclass would be more appropriate in this case. Mind if I steal that idea, anyway? What's the license on your code? :)
- By Trebor777 Date 2010-05-13 14:14
go crazy my friend .p
I didn't use any license ( I made it public for RPG Maker's RGSS, then I adapted it for my own project under gosu )
Feel free to use it as you like or make money of it :P
Up Topic Gosu / Extending Gosu / Secret of Mana-style radial menu for Chingu

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill