Suggestion Automatically position image center screen in Show & Move image

Description of the Feature:
Currently if I want to position a picture in the middle of the screen I always have to remember my project's resolution and divide the width, height by 2 (for "Center"-aligned pictures). For "Upper Left"-aligned pictures it's even a bit more complicated.

It's nothing major, but definitely annoying as it comes up a lot.
  • It would be cool if there was a button to automatically center the image in the "Quick Setting" dialog for the Show & Move Picture command

Mockups:
mockup.png

I've added a new button to the "Picture Position" dialog in the above mockup.


Why is this feature good?
It would be a good Quality of Life improvement for handling pictures, because personally, I do often have to center pictures and it's a bit of a pain to always keep track of the resolution - especially when dealing with "Upper Left"-aligned pictures as you also have to take the picture's dimensions into account.


Possible issues with this feature?
I can't think of any...
it could be good, but how many pictures require to be in the center?
mostly are left, but another way is just full screen image and call it,
so it is automatically centered.

so I voted no =)

mostly because (even for MV), if you use 80 pictures, maybe 3-4 needs to be centered,
other time more X or Y, so a better way are 2 buttons, to click:
Center X and Center Y, clicking both once, is X, Y centered, which makes more sense
than 1 image to center X,Y directly.
so a better way are 2 buttons, to click:
Center X and Center Y, clicking both once, is X, Y centered, which makes more sense
than 1 image to center X,Y directly.

I think that's a good idea, similar to how you center selections in Photoshop or other image editing programs.
mostly are left

I guess that would very much depend on what's happening in your game. I've changed it so that in mine the images are always automatically centered (or nudged a bit up from that if there's a message window present), and I've never really felt the need to override this.
And in general when I try to think about other games I mostly recall any images show to the player being centered.

What kind of thing would require you to mostly use left-aligned images? I'm not trying to argue that you're wrong or anything, I don't really know all that much about how other people develop games, I'm just really curious about why the way I use most images is only 3 or 4 cases out of 80.
Or you could make your images the size of your resolution and have the background transparent, that way every image set to upper left will be in the center.
Or you could make your images the size of your resolution and have the background transparent, that way every image set to upper left will be in the center.
FWIW, transparent pixels consume the same amount of RAM as visible pixels do, so doing it the way you're suggesting will use more RAM than the normal way of showing pictures.

If we're just talking one picture, it shouldn't really matter. But because some people use a lot of pictures simultaneously, and because some people might want to deploy their games to mobile devices, I figured it's worth mentioning.
FWIW, transparent pixels consume the same amount of RAM as visible pixels do, so doing it the way you're suggesting will use more RAM than the normal way of showing pictures.

If we're just talking one picture, it shouldn't really matter. But because some people use a lot of pictures simultaneously, and because some people might want to deploy their games to mobile devices, I figured it's worth mentioning.
It's a thing to consider for sure. But phones also have like what? 16gb+ Ram? Can't imagine You showing enough pictures at once to bring that to its knees. (Maybe if you never delete them? Idk)

Overall I believe anyone should have their game's resolution in their head anyway. And if you really show that many pictures in your game, remembering the resolution / 2 becomes muscle memory.

I'm also not arguing against such a feature of course, it would be cool to have regardless, I'm just sharing some way I get around the hassle when I need to. (Not like MV is gonna get it anyway, hah.)
But phones also have like what? 16gb+ Ram?
Nah. The latest iPhones range from 6 to 8 GB of RAM (2 GB higher than the previous generation). The latest Galaxy phones range from 8 to 12 GB. But since not everyone upgrades to the latest flagship models every year, about 70% of people are running around with 4 GB or less, and 90% have 6 GB or less. When you consider how much of that 4-6 GB is already going to be occupied by the OS and background apps, you really gotta be careful with RAM when making mobile games.
Nah. The latest iPhones range from 6 to 8 GB of RAM (2 GB higher than the previous generation). The latest Galaxy phones range from 8 to 12 GB. But since not everyone upgrades to the latest flagship models every year, about 70% of people are running around with 4 GB or less, and 90% have 6 GB or less. When you consider how much of that 4-6 GB is already going to be occupied by the OS and background apps, you really gotta be careful with RAM when making mobile games.
I see! I'm never really using my phone (Which, after checking has 8GB indeed.) I just assumed people who actually use them upgrade theirs naturally.

I'd still think you'd need to display A LOT of images at once for it to become a problem tho... Might be wrong of course.
What kind of thing would require you to mostly use left-aligned images?
there are games that align it to the left or right and place text on the other side
depending on the situation.

if you have 2 buttons or a base that automatically set value on when:

upper left - upper center - upper right

center left - center - center right

down left - down center - down right

you can alter the rest from there without to much calculations.

if you set picture 1 upper left and picture 2 upper left, it would either
overlap or snap on picture 1 next to it so you can set a marge there.

but 2 button is better than 1, or set a number (1 , 2 , 3, 4 ,5 (5 = center), 6 ,7 , 8 , 9)
if you check the numpad to set a position (0 for retain or manually) other numbers
for its position, which solve it much faster as well in my opinion.

it depends on the situations like using pictures for basic HUD, tutorial, other mechanics.
it also depends on how many images you use, if you use 50+ to be centered over time,
and has different sizes, I could agree, but it depends on the mechanic and situations.

Original thread: https://forums.rpgmakerweb.com/threads/automatically-position-image-center-screen-in-show-move-image.162473/