MV Edited version of GALV_CursorImage?

So, i'm trying to set up an UI while using MogHunter's Menu Cursor plugin, which i managed to edit with my very barebones knowledge as to disable the sliding animation that the plugin originally had, plus setting up the position of the cursor right where i want it to be, resulting in it looking like this:

1641518549079.png


Thing is that i'd like the highlighted text to move to the right whenever the cursor is over it, instead of having the menu cursor sit outside of the window, but i'm not entirely sure how to edit the script to make that effect. Now, here is my request: Could anyone please help me achieve this?

Here's a mockup of what i'd like it to look like:

1641518685690.png


Thanks in advance! 😊
My edited version of the plugin is in the thread attachments for easy access.

EDIT: I've been informed that MOG_MenuCursor isn't really capable what i want it to do, yet GALV_CursorImage has a much better chance of actually being fitting for this. So if you're reading this and would like to lend me a hand, that would be info that hopefully helps.
Changing the request from editing MOG_MenuCursor, to editing GALV_CursorImage into having a an indent to only apply on highlighted selection.

GALV_CursorImage.js
Pretty sure this can't be can't be done with that plugin.
You might have to use/look into luna engine (which is paid) or make a custom plugin for it.
Pretty sure this can't be can't be done with that plugin.
You might have to use/look into luna engine (which is paid) or make a custom plugin for it.
Hm... i've actually got the version of Luna Engine that comes when buying RMMV, but i'm guessing that i'd need the version that's released seperately, or that i just simply don't know how to get it to do what i need here.

I'd accept a custom plugin for this if anyone is willing to do it, but i sadly lack any sort of coding knowledge, so i'm not really able to do it myself 😐
I took a look at my project where I was experimenting with a cursor plugin, but it turned out to be Galv's (Galv_CursorImage), not Moghunter's… I did manage to set it up to have the cursor inline similar to how you wanted, but all the options were moved over to accomodate it, not just the selected one.

Still… if nothing else, it might be worth giving Galv's a try to see how close you can get, and (as long as it doesn't conflict with anything you're using) perhaps it might be easier to modify it to get the exact effect you want. Just a thought.

1641521298710.png
I took a look at my project where I was experimenting with a cursor plugin, but it turned out to be Galv's (Galv_CursorImage), not Moghunter's… I did manage to set it up to have the cursor inline similar to how you wanted, but all the options were moved over to accomodate it, not just the selected one.

Still… if nothing else, it might be worth giving Galv's a try to see how close you can get, and (as long as it doesn't conflict with anything you're using) perhaps it might be easier to modify it to get the exact effect you want. Just a thought.

View attachment 211989
That sounds like a pretty good solution actually, might try messing around with it myself!
Will add an edit if i still need some help with that one.

EDIT: okay yeah i can't figure out how to get rid of the animation on the GALV plugin, or how to possibly implement what i want. So help is still appreciated😢
The Galv plugin has a parameter that seems like it should disable the animation - just set frames to 1. It might be slightly more complicated than that (maybe you need to edit the image so it only has one frame).

Or if you want a different animation, just modify the image to your liking.
The Galv plugin has a parameter that seems like it should disable the animation - just set frames to 1. It might be slightly more complicated than that (maybe you need to edit the image so it only has one frame).

Or if you want a different animation, just modify the image to your liking.
Feeling really dumb now that for whatever reason this didn't occur to me.
That actually works, like just. straight up, that's all.

I still haven't figured out the selective indent but i might just give up on it, like if someone figures it out it's good cause i still think it'd look good, but if no one does i might just settle with this as GALV's plugin works relatively okay.
Hi there!
Taking a look at the Galv plugin, I manage to make the cursor blink(with an ugly approach xD).
But due to his terms of use, I cannot repost the modified plugin here. And also cannot make an extension, because the Sprite_GalvCursor is scoped inside an IIFE, with no way to access it outside.

So I will tell you the things you need to change, and you make the changes yourself into the plugin file.

So, let's do this.
First, you will need to open the plugin file, and replace the following functions:
JavaScript:
Sprite_GalvCursor.prototype.initialize
Sprite_GalvCursor.prototype.update

with this ones:
JavaScript:
Sprite_GalvCursor.prototype.initialize = function(window) {
    Sprite_Base.prototype.initialize.call(this);
    this._window = window;
    this.createImage();
    this._ticker = 0;
    this._pattern = 0;
    this.updateFrame();
    this.canBlink = false
    this.blinkPower = 10 // Change this value to your liking
    this.blinkSpeed = -this.blinkPower
}

Sprite_GalvCursor.prototype.update = function() {
    Sprite_Base.prototype.update.call(this);
    if (this._window.isCursorVisible() && !$gameSystem._cursorHidden) {
        this.updateBlink()
        if(!this.canBlink){
            this.opacity = this._window.openness >= 255 ? 255 : 0 
            this.canBlink = this._window.openness >= 255
        }
        
        if (this._window.active) this.updateFrame()
        this.updatePosition()
    } else {
        this.opacity = 0
        this.canBlink = false
    }
}

And also, add this new one:
JavaScript:
Sprite_GalvCursor.prototype.updateBlink = function(){
    if(this.canBlink){
        
        if (this.opacity >= 255) {
            this.opacity = 255
            this.blinkSpeed = -this.blinkPower
        }else if(this.opacity <= 0){
            this.opacity = 0
            this.blinkSpeed = this.blinkPower
        }
        this.opacity += this.blinkSpeed
    }
}

I didn't test it too much. I just opened the demo and it worked on the title screen.
Hope it helps ^^

NOTE: I didn't take a look at the indented part though.
Hi there!
Taking a look at the Galv plugin, I manage to make the cursor blink(with an ugly approach xD).
But due to his terms of use, I cannot repost the modified plugin here. And also cannot make an extension, because the Sprite_GalvCursor is scoped inside an IIFE, with no way to access it outside.

So I will tell you the things you need to change, and you make the changes yourself into the plugin file.

So, let's do this.
First, you will need to open the plugin file, and replace the following functions:
JavaScript:
Sprite_GalvCursor.prototype.initialize
Sprite_GalvCursor.prototype.update

with this ones:
JavaScript:
Sprite_GalvCursor.prototype.initialize = function(window) {
    Sprite_Base.prototype.initialize.call(this);
    this._window = window;
    this.createImage();
    this._ticker = 0;
    this._pattern = 0;
    this.updateFrame();
    this.canBlink = false
    this.blinkPower = 10 // Change this value to your liking
    this.blinkSpeed = -this.blinkPower
}

Sprite_GalvCursor.prototype.update = function() {
    Sprite_Base.prototype.update.call(this);
    if (this._window.isCursorVisible() && !$gameSystem._cursorHidden) {
        this.updateBlink()
        if(!this.canBlink){
            this.opacity = this._window.openness >= 255 ? 255 : 0
            this.canBlink = this._window.openness >= 255
        }
       
        if (this._window.active) this.updateFrame()
        this.updatePosition()
    } else {
        this.opacity = 0
        this.canBlink = false
    }
}

And also, add this new one:
JavaScript:
Sprite_GalvCursor.prototype.updateBlink = function(){
    if(this.canBlink){
       
        if (this.opacity >= 255) {
            this.opacity = 255
            this.blinkSpeed = -this.blinkPower
        }else if(this.opacity <= 0){
            this.opacity = 0
            this.blinkSpeed = this.blinkPower
        }
        this.opacity += this.blinkSpeed
    }
}

I didn't test it too much. I just opened the demo and it worked on the title screen.
Hope it helps ^^

NOTE: I didn't take a look at the indented part though.
Sorry, this is kind of redundant as i came to realizing that the plugin doesn't even need to be edited for a different animation, as it's made to pull the animation from the image frames rather than the coding itself, so the plugin doesn't need an edit for that aspect.😩
This thread is being a mess because of mixed information, i might close it to avoid wasting more of people's time-
Sorry, this is kind of redundant as i came to realizing that the plugin doesn't even need to be edited for a different animation, as it's made to pull the animation from the image frames rather than the coding itself, so the plugin doesn't need an edit for that aspect.😩
This thread is being a mess because of mixed information, i might close it to avoid wasting more of people's time-
Gosh, I could have thought the same thing xD

Original thread: https://forums.rpgmakerweb.com/threads/edited-version-of-galv_cursorimage.143687/