Galv's Picture Animations


 Picture Animations - Version 1.2
RPG Maker MV Plugin
Galv

​


Introduction
Pictures and animations get married.


Features


A simple plugin that allows you to play animations from the database on pictures created with the “Show Picture” event command.


How to Use
- Copy the "GALV_PictureAnims.js" file into your project's /js/plugins/ folder.
- Activate plugin using the 'Plugin Manager'
- Read the help file and examine the demo to learn how it works.


Plugin
Get it here


Credit and Thanks
- Galv


Terms
Free to use in any RPG Maker MV project including commercial. Please credit "Galv". 🙂


Updates


2017-01-18 - Version 1.2 - fixed crash when erasing pic on map before going to battle


2016-08-22 - Version 1.1 - fixed crash when transferring to another map
2016-08-17 - Version 1.0 - release
Another really nice plug-in. I love most of your MV scripts.


Keep up the excellent work, Galv. 🙂
Thank you very much for this plugin, @Galv! It has proven to be very useful in implementing a certain mechanic/gimmick into my game.


I've noticed one strange bug, though. For some reason, showing pictures while in combat makes the game crash with the following errors in the console:

Spoiler
rpg_managers.js:1618 TypeError: Cannot read property '_animationId' of null


    at Sprite_Picture.setupAnimation 
(file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/plugins/GALV_PictureAnims.js:76:47)


    at Sprite_Picture.updateAnimation 
(file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/plugins/GALV_PictureAnims.js:69:10)


    at Sprite_Picture.updateOther 
(file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/plugins/GALV_PictureAnims.js:63:7)


    at Sprite_Picture.update 
(file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/rpg_sprites.js:1920:14)


    at file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/rpg_core.js:3290:19


    at Array.forEach (native)


    at Sprite.update 
(file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/rpg_core.js:3288:19)


    at file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/rpg_core.js:3290:19


    at Array.forEach (native)


    at Spriteset_Battle.Sprite.update 
(file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/rpg_core.js:3288:19)


    at Spriteset_Battle.Spriteset_Base.update 
(file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/rpg_sprites.js:2135:29)


    at Spriteset_Battle.update 
(file:///C:/Users/Red/Desktop/GALV_PictureAnims-bug/js/rpg_sprites.js:2417:37)

Here is also a link to a sample project. Hopefully there's a way to fix this.
You project doesn't have the latest version of MV files. Update those and it should work without issue
Ah, sorry: I forgot that the demo template I was using hadn't been updated to version 1.3.4.


I decided to create a new project to test the issue (after making sure that my MV had been updated to version 1.3.4), and unfortunately I got another "Cannot read property '_animationId' of null" error in a fresh project which had only your Picture Animations plugin. Here is a new sample project in case you'd like one:


https://www.dropbox.com/s/8d0os39z5vrulfs/GALV_PictureAnims-bug-updated.rar?dl=0
Ahh, I see now - the bug happened when erasing a pic on the map before battle. I did not test for that.


Thanks for the error report, I have fixed this now in version 1.2
Hey sorry to necro this thread, but upon trying this in my version of RPGMaker this doesn't appear to be working.

:EDIT: Snap, nevermind, just checked this on the map and it appears to be working fine, it won't work in battles however.
I fixed this to work in battles because I needed it in a project. The problem was that picture ids start at 101 in battle.
Hi
I found problem that when I erase picture or fade in fade out screen before the animation end
it leaves trace like in the picture
anyway to clear that out
thank you
ฟกฟกa.JPG
ฟกฟกa.JPG
The plugin is not working right. After inputing command to display animation on picture 1, No animation is actually happening.
The plugin is not working right. After inputing command to display animation on picture 1, No animation is actually happening.
With only tht information is hard to help. Can you take a screenshot of your event and send here?
I used that plugin with Rm Mv 1.6.2 amd everything works fine.
Also, try to send a screenshot of your plugin manager, maybe its a compatibility issue.
@Eliaquim I will try to see if I can take a screenshot somehow. My computer is stupid and the printscreen button doesn't want to work, no matter what I do. Might have to get a software.
But my even was simple.
Something like this.

Show picture: image1, 400, 300, 255
Plugin command: the command in script.
To show animation.

Event is set as:
same as player
action button

Plugins. Lots of Yanflys, several VE, couple of Hime, and the emergence animation in battle.
@Eliaquim I will try to see if I can take a screenshot somehow. My computer is stupid and the printscreen button doesn't want to work, no matter what I do. Might have to get a software.
But my even was simple.
Something like this.

Show picture: image1, 400, 300, 255
Plugin command: the command in script.
To show animation.

Event is set as:
same as player
action button

Plugins. Lots of Yanflys, several VE, couple of Hime, and the emergence animation in battle.
You can try to copy amd aaste the plugin command as a text...
With a lot of plugins, it is probably a plugin conflict
Okay I downloaded a software to do this. I put the screen shots, of course the plugin is no longer in the list since it was not working at all for me.
Okay I downloaded a software to do this. I put the screen shots, of course the plugin is no longer in the list since it was not working at all for me.
The problem is that you are using a plugin command. It's not a plugin command. It is a script call:
Code:
Galv.PIC.anim(picId,animId);
And it has no space between the first parameter and the second one(But maybe that is not the problem).
I will try again shortly then, I can't believe I didn't notice I was using the wrong thing. I blame it on stress hahaha, since I've been trying to replicate a certain skill and it's driving me crazy.
yup that was the issue, thanks, i wouldn't have even notice i was using the wrong thing.
I will try again shortly then, I can't believe I didn't notice I was using the wrong thing. I blame it on stress hahaha, since I've been trying to replicate a certain skill and it's driving me crazy.
A while ago It happens a lot with me! ^^
Glad it is working!
Sorry my english. I dont know the reason. Often the animations works, but sometimes animations dont work.
How do you make the animations loop?

Original thread: https://forums.rpgmakerweb.com/threads/galvs-picture-animations.67980/