Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Very good complement! But I would like to remove some options from the menu, I already made progress with removing the icons, but I would like to remove options that my game does not need,  is there a way to do the aforementioned?

Heya! Thank you very much for using this plugin! 

Well, it's possible to remove unused commands. However, it's not dependent by Ring Menu plugin directly. I elaborate. I think you've noticed you can customize command symbol and personal command symbols inside plugin parameters - I assume that you're knowing of what we're talking about since you already managed removing icons -. 

However, Ring Menu command roster is taken by the reference window that is Window_MenuCommand itself. Take a look on this portion of code starting on line 302:

createMenuCommands() {             this._referenceWindow = new Window_MenuCommand(new PIXI.Rectangle(0,0,1,1));             this._referenceWindow.refresh();             for(let i = 0; i < this._referenceWindow._list.length; i++) {                 const comm = this._referenceWindow._list[i]                 this._symbols.push(comm.symbol)                 this._names[comm.symbol] = comm.name                 let sp = new Sprite();                 sp.alpha = this._globalAlpha                 let iconset = ImageManager.loadSystem("iconset");                 iconset.addLoadListener(() => {                     sp.bitmap = iconset;                     sp.anchor.set(0.5)                     const iconIndex = !!_ring_menu_icons[comm.symbol] ? _ring_menu_icons[comm.symbol] : 16;                     const pw = ImageManager.iconWidth;                     const ph = ImageManager.iconHeight;                     const sx = (iconIndex % 16) * pw;                     const sy = Math.floor(iconIndex / 16) * ph;                     sp.setFrame(sx,sy,pw,ph)                 })                 this.addChild(sp)             }             this._angleDistance = this.calculateAngleDistance()         }

As you can see referenceWindow is Window_MenuCommand

Said that, you have to apply your changes on Window_MenuCommand and then, eventually, mod the Ring Menu for your necessities. As far as I know this kind of interaction could be possible with some well-known plugins done by developers like VisuStella or if you're proficient in Javascript just editing the Window_MenuCommand class on your own in the part where commands are declared.

Hoping that this could help you at least a little,

Cheers!