JRand

Regular
Regular
Joined
Sep 15, 2018
Messages
61
Reaction score
4
First Language
English
Primarily Uses
RMMV
I am currently using MOGHunter's title layer plugin and menu command plugins. MOGHunter's title layer plugin allows for layer animations, but not rotation on a stationary axis. MOG has another magic circle plugin that allows rotation, which could theoretically work because the layer I am trying to rotate is a PNG circle, but a circle layer using that plugin sort of floats around the X/Y axes as it rotates instead of staying stationary. All I need is a plugin that allows a layer to rotate with speed and X/Y position adjustment. Does anyone know of a title menu plugin that does this?

Thank you!
 
Last edited:

Levolpehh

Regular
Regular
Joined
Nov 17, 2018
Messages
86
Reaction score
89
First Language
English
Primarily Uses
RMMV
You can use this line to add a rotation effect to any bitmap/sprite/image
you'll have to add it to the Title Plugin and find what they've named the image and replace _imagenamehere with what they've called it. Place the line under the "update" function.

this._imagenamehere.rotation += 0.01 or whatever value

Code:
Scene_Menu.prototype.createMagicCircle= function() {
    this._magicCircle = new Sprite(ImageManager.loadMenusMain("MagicCircle"));
    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);
};

here's an example of how Mog creates the Magic Circle in their Menu plugin. You can use that as a guideline for creating new images. this._field may be different though for the Title plugin.
 
Last edited:

JRand

Regular
Regular
Joined
Sep 15, 2018
Messages
61
Reaction score
4
First Language
English
Primarily Uses
RMMV
You can use this line to add a rotation effect to any bitmap/sprite/image
you'll have to add it to the Title Plugin and find what they've named the image and replace _imagenamehere with what they've called it. Place the line under the "update" function.

this._imagenamehere.rotation += 0.01 or whatever value

Code:
Scene_Menu.prototype.createMagicCircle= function() {
    this._magicCircle = new Sprite(ImageManager.loadMenusMain("MagicCircle"));
    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);
};

here's an example of how Mog creates the Magic Circle in their Menu plugin. You can use that as a guideline for creating new images. this._field may be different though for the Title plugin.

Thank you for the response, @Levolpehh. I'm afraid I don't know anything or much about coding, so I'm not sure where to put it or what layer 2 is called in the code (the layer in Title Layers that I want to make rotate is layer 2). I tried rotating it just by making a 30 frame animation with each frame rotated another 12 degrees, but that degrades the quality of the image, and I want it slow which isn't smooth.
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

Partitito's story is supposed to be about defeating poverty while thinking he is a capitalist with socialist ideas. But it's really about stories of redemption and perseverance.
Who would have thought an idea like "I wanna put the character bio in the equip screen" would turn into a bunch of work and fun collaboration @Puppet Knight . Now my Equip/Character screen is the way I want it.
Screenshot 2023-12-03 194313.png
Just one more week of grinding through semester finals and I'll be able to actually work on some games and stuff. Hopefully I'll be able to work on my game document to actually have my ideas somewhere outside of my cranium of madness.
With Day 4 of my advent calendar posted, it's time for y'all to choose what Day 5 will be!

We've seen Strength with our adventurers, so which DnD stat would you like to see in the next NPC: Charisma, Constitution, or Wisdom?
Hello everyone im back haha, so im planning to Restart my RPGMAKER project next year when i get new gear to work, But currently im working in Trading card games, if anyone is interested in this world please visit my website :

From there you will be able yo access to my social network profiles or my Discord server.
Good luck to everyone :)

Forum statistics

Threads
136,728
Messages
1,269,235
Members
180,445
Latest member
RenkoUsami
Top