Hi there!
When I first started creating my game I used the standard MV resolution of 816x624. And because I didn't know any better, when showing a fullscreen image, I just went with the default position of "Upper Left". Without adding any additional variables.
Problem is, now I'd like to increase the game's resolution (using YEP's Core Engine plugin). Which results in all images being stuck in the upper left corner.
Although I could go to every single "Show picture" event call and add a variable for x and y, this would be a lot of work, since it affects about 2000 images.
Is there a plugin that can overwrite the image position and place it center screen as default?
no, but you can do a text search&replace on the mapfiles themselves.
you need to make a backup of the json files in case something goes wrong, and you should use one of the better text editors than notepad for this, but then you can open all the mapfiles, look for which text sequence the picture commands are and run a multifile search&replace on it.
I usually use textpad for this, because the multifile functions help a lot.
Thanks for your answers!
Kuro, although your suggestion is safer, I'm afraid it will cost me too much time. Loading an image into a photo editer, adding a larger background and overwriting the original image is likely going to a couple of minutes per image (efficiency will drop off considerably due to boredom🙂 ). Multiply that by 2000 and we're talking close to 70 hours of pure editing. And I don't think I have the patience complete such a task.
I'll therefore try Andar's suggestion first, since it's potentially resolved by just clicking a mouse button 2000 times. If that fails, then I'll see if I can cough up the necessary patience.
2000 individual pictures and each only shown 1 time in the game?
We could not know that, we thought you showed 10 to 50 Pictures up to 2000 times in your Game.
Changing 10 to 50 Pictures would be easier, iam not sure if gimp got automation, photo shop paid version got it,
you would manualy increase one picture, than tell the machine to do the other 2000 automated. if nearly all pictures have the same size,
this could be a valid way. But iam not sure if the free Gimp can do this also. (I have no real expirience with automation, so i cant provide more infos)
Yeah, I may not have expressed myself clearly. But the answer is: yes and no. Nearly all images are called via common events, either only once, or as many times as the player encounters that particular event (but there are 2000 unique images).
It was actually a lot easier than I expected using Notepad++. It ran through the entire commonevents.json with a single click and replaced the desired variables. I still have some work to do for some local events but I don't think that should be much. Then all images should be realigned in the center of the screen. I also always call a black background image as image nr.1 for each event. So I can simply swap out that single black image with a higher resolution version to make sure the remaining screen area is covered.