So it seems VisuMZ_0_CoreEngine Breaks Picture Showing using "Center" but only if using the Javascript call?
I'm so confused to why this even happens..
Here's a video showcasing what I mean:
When using a script call such as:
Where this would normally center picture 2 and show "Evil_3" at screen coordinates of 320, 240
When VisuMZ_0_CoreEngine is enabled just with default settings even and no adjustments it "breaks" centering using the javascript call and instead still uses "top-left"...
Soooo umm... anyone know why?
...or preferably better yet how to fix this?
Thanks in advance for any replies.
Edit:
Hmm... upon further investigating of the picture object's js properties it seems the real issue was the "_anchor" setting that VisuStella adds... and for whatever reason it's not auto set when calling with script call but does get set when using the actual command from the editor.
So setting the pictures properties "_anchor" to {x: 0.5, y: 0.5}
and then also "_targetAnchor" to {x: 0.5, y: 0.5} seems to work
Cased closed I suppose. lol
@mod please close this, thank you 🙂
I'm so confused to why this even happens..
Here's a video showcasing what I mean:
When using a script call such as:
JavaScript:
$gameScreen.showPicture(2, "Evil_3", 1, 320, 240, 100, 100, 150, 0);
When VisuMZ_0_CoreEngine is enabled just with default settings even and no adjustments it "breaks" centering using the javascript call and instead still uses "top-left"...
Soooo umm... anyone know why?
...or preferably better yet how to fix this?
Thanks in advance for any replies.
Edit:
Hmm... upon further investigating of the picture object's js properties it seems the real issue was the "_anchor" setting that VisuStella adds... and for whatever reason it's not auto set when calling with script call but does get set when using the actual command from the editor.
So setting the pictures properties "_anchor" to {x: 0.5, y: 0.5}
and then also "_targetAnchor" to {x: 0.5, y: 0.5} seems to work
Cased closed I suppose. lol
@mod please close this, thank you 🙂