MZ I need help with a (possible) JavaScript glitch

I just found nz-prism's Actor Pictures plugin, and aside from my complaint here, I am delighted with it. Not only is it free, but it has most of the functionality for displaying character portraits that I miss from Visual Novel Maker.

Supposedly it can even do animations, but I am at my wit's end as to how to make this work. I read through the read-me file and the directions are fairly straightforward:

“as a material standard, this loop animation is supported by arranging any number of patterns horizontally. Animation can be set in the plug-in parameters of the ActorPictures .js. You can fine-tune the number and timing of patterns.”

I set up an image this way and put it under the “pictures” folder under “img” in my RPG Maker game folder. This is where the plugin requires character portraits to go, and I didn’t read anything that said images for animated portraits were an exception.

Then the read-me file shows this image. I know a little Japanese, enough to tell that this is the Parameter window and has the settings needed for animation.

PictureMessage7.png

Except this is what I see on my screen in RPG Maker.
Plugin Settings Picture Animation.jpg

(Here are the plugin windows in the order I clicked them from top to bottom. The bottom one is the one I can't click on properly.)

It’s blank! Several settings are missing (pattern, timing, frame rate, etc.) from the developers' screenshot.

If I click on the lines underneath Name/Value, nothing happens. It won’t let me select an image (which is set under “pictures” as I mentioned above. I read through the read-me page for this plugin quite thoroughly and I don’t think I’m missing something, like an additional plugin for the animation feature or having the Actor Pictures plugin in the wrong order. I’d reach out to the developers directly, except I don’t have a Twitter account and there’s a language barrier.

Is this caused by an error with the JavaScript itself? If so, can someone point out where and offer any ideas for how to correct it? I would definitely appreciate it!

Edit: Here's the JavaScript: https://github.com/nz-prism/RPG-Maker-MZ/blob/master/ActorPictures/js/plugins/ActorPictures.js
Hi there!

I think it is a typo.
Open the plugin file with any text editor.
On line 214, remove the "ja" at the end.

1647651803824.png


Then you should be able to see the parameters properly 🙂

[EDIT] I talked with the developer and I believe he fixed it already. So just need to get the new version 🙂
Wow, I didn't expect such a fast response! Thank you for reaching out to the developer!
Unfortunately, now the plugin crashes for me no matter what I do. I removed the animation images and reverted to the images and eventing I was using previously (and these displayed fine yesterday,) but it still crashed.

Actor Pictures Plugin Crash.jpg
Wow, I didn't expect such a fast response! Thank you for reaching out to the developer!
Unfortunately, now the plugin crashes for me no matter what I do. I removed the animation images and reverted to the images and eventing I was using previously (and these displayed fine yesterday,) but it still crashed.

View attachment 220336
It can be a compatibility problem. But I believe there is something wrong with how you set up the plugin parameters, because of the error: "Unexpected end of JSON input".

So double check your parameters, if you still get an error, contact the developer.
You can open a issue on GitHub.
I updated RPG Maker after reinstalling this plugin twice. Eventually I managed to make it work!
It can be a compatibility problem. But I believe there is something wrong with how you set up the plugin parameters, because of the error: "Unexpected end of JSON input".

So double check your parameters, if you still get an error, contact the developer.
You can open a issue on GitHub.
I had to re-install the plugin twice, but I was able to get it to work. It may have also helped that I updated RPG Maker MZ.

The directions to use the animation feature are rather abstract. It took quite a bit of trial and error to figure out that the animation graphic had to be added to both Actor Pictures and Picture Animation Settings for the animation to start playing. It came out well, and I have a surprising amount of control over how the animation plays. Thanks for you help!

Original thread: https://forums.rpgmakerweb.com/threads/i-need-help-with-a-possible-javascript-glitch.145911/