MV MogHunter_SceneMenu

Hello!

I have a day night system for the game I'm making, and I'm using the Mog_SceneMenu Plugin (see below)


In the program by default there is a section for a rotating circle, see here:


In my game I currently have it hidden, but I'd like to use it:


Because the game has a day / night system, I'd like the circle to be a sun and moon depending on if its day or night, however in the plugin there is no section to change this circle dependant on variable/switch.

Is there anyone out there that would be able to help me out with this?

Thanks in advance
You could change the code a bit, so the plugin can check what image to use for the circle.

In line 370, change the code to this:

Spoiler: CODE
Scene_Menu.prototype.createMagicCircle = function() {
this._variable = $gameVariables.value(id);
this._magicCircle = new Sprite(ImageManager.loadMenusMain("MagicCircle_" + this._variable));
this._magicCircle.anchor.x = 0.5;
this._magicCircle.anchor.y = 0.5;
this._magicCircle.x = Moghunter.scMenu_MagicCircleX;
this._magicCircle.y = Moghunter.scMenu_MagicCircleY;
this._field.addChild(this._magicCircle);
};

Change the variable ID to the one you desired, and it will check the value of those variables.
If the value is 0, the image used will be "MagicCircle_0.png", if the value is 1, it will be "MagicCircle_1.png" etc
You could change the code a bit, so the plugin can check what image to use for the circle.

In line 370, change the code to this:

Spoiler: CODE
Scene_Menu.prototype.createMagicCircle = function() {
this._variable = $gameVariables.value(id);
this._magicCircle = new Sprite(ImageManager.loadMenusMain("MagicCircle_" + this._variable));
this._magicCircle.anchor.x = 0.5;
this._magicCircle.anchor.y = 0.5;
this._magicCircle.x = Moghunter.scMenu_MagicCircleX;
this._magicCircle.y = Moghunter.scMenu_MagicCircleY;
this._field.addChild(this._magicCircle);
};

Change the variable ID to the one you desired, and it will check the value of those variables.
If the value is 0, the image used will be "MagicCircle_0.png", if the value is 1, it will be "MagicCircle_1.png" etc
This worked perfectly, thank you so much for the expert help!

Original thread: https://forums.rpgmakerweb.com/threads/moghunter_scenemenu.139021/