MZ centering selection

So, I'm using Battle Core VisuStella MZ with FezCursor,
And my problem is the following:
-I'm using big SVbattlers for enemies and the cursor and attack animation aren't centered on the image
image_2024-02-22_113911129.png
what is the setting of the animation in the animation tab? have you tried changing that?

this is either the wrong setting in the animation, or the wrong excess space in the cell of that enemy.
what is the setting of the animation in the animation tab? have you tried changing that?

this is either the wrong setting in the animation, or the wrong excess space in the cell of that enemy.
What do you mean by "animation tab"?
I'm using BIG SV battlers BTW. (with $!)

I've moved this thread to Plugin Support (from MZ Support). Thank you.

What do you mean by "animation tab"?
The Animations tab of the database. Since MZ v1.1.0, Effekseer animations have an "Align Bottom" checkbox. (MV-style animations have a similar option: Head, Center, Feet, Screen.)

For help with the selection cursor, I recommend you post a link to the plugin page for "FezCursor".
Moved to: Plugin Support (from MZ Support)
The Animations tab of the database. Since MZ v1.1.0, Effekseer animations have an "Align Bottom" checkbox. (MV-style animations have a similar option: Head, Center, Feet, Screen.)

For help with the selection cursor, I recommend you post a link to the plugin page for "FezCursor".
I think the problem stem from the fact that i use very big SV battlers and rpg maker don't understand where the center is supposed to be.
https://forums.rpgmakerweb.com/index.php?threads/rpg-maker-fes-style-battle-result.152271/ is the link for FEZ style plugins, i'm gonna ask there too.
Firstly, I noticed you said this on the plugin release thread:
I'm using Big SV battlers (with $!).
That doesn't really make sense to me:
  • $ is for map character sheets that have only 1 character instead of 8.
  • ! is for map character sheets that should ignore the default 6 px offset upwards.
By default neither of these apply to SV battler sheets: SV battlers are always 1 character per sheet and have no natural offset. Larger map characters are often 1 character per sheet just to avoid having very big sheets.

For larger battlers (or map characters), you can simply make their image bigger: the engine will cut it into 6 rows and 9 columns, regardless of size.


By default the texture anchor of a battler (static or animated) is at their feet: 0.5, 1. But the engine can easily determine the height/width of a sprite and therefore the coordinates of its centre.
  • For animations, the core scripts determine position based on target sprite size: no problem.
  • I haven't tested, but it looks like FesCursor.js offsets the cursor to be vertically centred with respect to its parent (Sprite_EnemyCursor.prototype.updatePosition).
I would assume that it's like Andar said: excess blank space under your character's feet. However, I think then the shadow sprite would appear lower down (unless you've changed that with a plugin).

From your screenshot it looks like you are using various plugins. You could try turning off everything except FesCursor, then save your project to apply Plugin Manager changes and test to see if that helps. Another plugin might be altering the SV sprite anchor, changing the division of SV spritesheets, or something like that.
By default the texture anchor of a battler (static or animated) is at their feet: 0.5, 1. But the engine can easily determine the height/width of a sprite and therefore the coordinates of its centre.
  • For animations, the core scripts determine position based on target sprite size: no problem.
  • I haven't tested, but it looks like FesCursor.js offsets the cursor to be vertically centred with respect to its parent (Sprite_EnemyCursor.prototype.updatePosition).
I would assume that it's like Andar said: excess blank space under your character's feet. However, I think then the shadow sprite would appear lower down (unless you've changed that with a plugin).

From your screenshot it looks like you are using various plugins. You could try turning off everything except FesCursor, then save your project to apply Plugin Manager changes and test to see if that helps. Another plugin might be altering the SV sprite anchor, changing the division of SV spritesheets, or something like that.
There is no excess blank space
I think the problem stem from the fact that i use very big SV battlers and rpg maker don't understand where the center is supposed to be.
then you think wrong

For example all cells in a spritesheet are automatically centered bottom - but that is the cells, and if your picture is done wrong thant the center of the cell is not where the picture inside that cell is centered.

and that doesn't even consider that you have the option to intentionally play the animation off-center by the settings for the animation in the database.
So please, check the database animations tab for the settings where the animation is supposed to be played - is there any offset given? Is the animation target-centered or where?

EDIT: please give us a screenshot of the animation database settings if you don't understand how to read them
then you think wrong

For example all cells in a spritesheet are automatically centered bottom - but that is the cells, and if your picture is done wrong thant the center of the cell is not where the picture inside that cell is centered.

and that doesn't even consider that you have the option to intentionally play the animation off-center by the settings for the animation in the database.
So please, check the database animations tab for the settings where the animation is supposed to be played - is there any offset given? Is the animation target-centered or where?

EDIT: please give us a screenshot of the animation database settings if you don't understand how to read them
my problem is with the cursor from FezCursor, not with the attack animation, i know i can offset them.
Can you just post the battler spritesheet you're using? There's a lot of back and forth and guessing going on.

If you simply post the image, then
1 - We can tell you if anything is formatted incorrectly
2 - We can test in our own copies of MZ and tell you if it should work or not
(In case it turns out to be the solution: Awayamatana suggested an edit related to .mainSprite() in the plugin's release thread, which looks promising. I'd overlooked the fact that the height offset will be affected by the use of animated enemies. 😴)
Can you just post the battler spritesheet you're using? There's a lot of back and forth and guessing going on.

If you simply post the image, then
1 - We can tell you if anything is formatted incorrectly
2 - We can test in our own copies of MZ and tell you if it should work or not
There is no excess blank space
There is a ton of excess space.

1708615712926.png


Look at the default SV battler sheets for comparison - the bottom of the feet should be one pixel above the top of the head below. (and the bottom of the bottom row should be at the bottom pixel of the canvas)
There is a ton of excess space.

View attachment 296146

Look at the default SV battler sheets for comparison - the bottom of the feet should be one pixel above the top of the head below. (and the bottom of the bottom row should be at the bottom pixel of the canvas)
I used another sprite that i stretched, and it didn't change anything.
So the blanks may not be the problem here.
They may not, but you still want to fix them for the engine to correctly know where the bottom/center/top of the sprite is.

Also, note the stretching you applied also added spaces between the rows 😉

If you correct the cels and the cursor still isn't right, we can help you troubleshoot that.
MB,
Found the problem, it was because i needed to fix the size of the entity in the plugin windows : enemy battler setings.

Original thread: https://forums.rpgmakerweb.com/threads/centering-selection.166046/