MZ Hakuen Studio Enhanced pictures not working

Hi,

I've just downloaded the Hakuen Studio demo project.
I was just trying out the Enhanced pictures plugin demo.
However it doesn't seem to working.
The pictures look to be appearing either off screen or in the wrong place.

1706386938261.png


Most things seem to be opposite in some way, for example 'Fade in/out' demo does the opposite of what it says. Fade In fades out for example. Show images hides them.

Same with images in some cases. 'Center right' displays on the left side:

1706387434659.png

I'm using RPG Maker MZ 1.8.0, no modifications to the demo project, no customizations to the RPG Maker MZ installation folder.

Maybe this is just broken in more recent versions of MZ?

Any ideas of possible causes?
Hi,

I've just downloaded the Hakuen Studio demo project.
I was just trying out the Enhanced pictures plugin demo.
However it doesn't seem to working.
The pictures look to be appearing either off screen or in the wrong place.

View attachment 293268

Most things seem to be opposite in some way, for example 'Fade in/out' demo does the opposite of what it says. Fade In fades out for example. Show images hides them.

Same with images in some cases. 'Center right' displays on the left side:

View attachment 293269
I'm using RPG Maker MZ 1.8.0, no modifications to the demo project, no customizations to the RPG Maker MZ installation folder.

Maybe this is just broken in more recent versions of MZ?

Any ideas of possible causes?
Hi there!

I will take a look into this! I may have switch by mistake the fade in/out option.

But for the rest of the stuff, you tested with the default events that come with the sample project, right?
Thanks regarding the fade in/out. The commands look correct in the event, so I guess it's within the plugin. For the rest of the stuff yes, I downloaded your demo and didn't make any changes to it. I have recently bought a 2K ultrawide monitor could that be the cause?
I think the problem might be that it's a high DPI screen, as mentioned here:

@chrisleeca
1 - The fade in/out command are really swapped! But it is just a matter of changing the plugin command name. Will fix that!

2 - There is nothing wrong with the first picture you shown. It is outside the screen, because it is supposed to be. Take a look at the event command that shows that picture:
1706414832071.png

It is setting the Picture Origin to "Center" using the variable 27. As so, the picture will be centered on the X and Y position. Since the X and Y position are 0, it indeed will show offscreen.

3 - Also nothing is wrong with the second picture(center right thing). I mean I guess either you or me are confused with the origin points.
On my understanding, and also how the plugin works, is the following:

- The red square, is the X Y coordinate.

- When you set the origin point to Upper Left(Default Show Picture Origin point), the most Upper Left point of the picture will be put on the designed coordinates X, Y. This is Upper Left:
1706415558567.png


- When setting the origin to Center Right(Custom, made by my plugin), the most centered right point of the picture will be put on the origin point. This is center right. I put a yellow circle there to show more clearly:
1706415731469.png


That is how it works. On my way of thinking, I just follow the RPG Maker Logic for Upper Left and Center on the default show picture command.

This is done that way in case you want to put a picture on the right side of the screen, without clipping it out.
Like, if you want to put a picture on the left of the screen, you just set coordinates 0,0 and origin upper left.
But if you want to put it on the right side of the screen, you can ser coordinates to 1248,0 and origin upper right.

I hope I did manage to explain it well!

Original thread: https://forums.rpgmakerweb.com/threads/hakuen-studio-enhanced-pictures-not-working.165193/