Galv's Picture Animations

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,186
Reaction score
1,143
First Language
English
Primarily Uses
N/A

 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
 
Last edited by a moderator:

The Stranger

The Faceless Friend
Veteran
Joined
Sep 14, 2012
Messages
2,882
Reaction score
18,424
First Language
English
Primarily Uses
RMMV
Another really nice plug-in. I love most of your MV scripts.


Keep up the excellent work, Galv. :)
 

Punamaagi

Hero on their own terms
Veteran
Joined
Jan 23, 2016
Messages
203
Reaction score
307
First Language
Finnish
Primarily Uses
RMMV
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:

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.
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,186
Reaction score
1,143
First Language
English
Primarily Uses
N/A
You project doesn't have the latest version of MV files. Update those and it should work without issue
 

Punamaagi

Hero on their own terms
Veteran
Joined
Jan 23, 2016
Messages
203
Reaction score
307
First Language
Finnish
Primarily Uses
RMMV
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
 

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,186
Reaction score
1,143
First Language
English
Primarily Uses
N/A
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
 

BaronVampson

Veteran
Veteran
Joined
Jul 7, 2018
Messages
48
Reaction score
2
First Language
English
Primarily Uses
RMMV
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.
 
Last edited:

MechPen

Warper
Member
Joined
Nov 4, 2018
Messages
4
Reaction score
10
First Language
English
Primarily Uses
RMMV
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.
 

Attachments

pasunna

Veteran
Veteran
Joined
Feb 3, 2019
Messages
485
Reaction score
190
First Language
thai
Primarily Uses
RMMV
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
 

J-G

Adventurer
Member
Joined
Oct 4, 2019
Messages
429
Reaction score
105
First Language
English
Primarily Uses
RMMV
The plugin is not working right. After inputing command to display animation on picture 1, No animation is actually happening.
 

Eliaquim

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,264
Reaction score
539
First Language
Portuguese - Br
Primarily Uses
RMMV
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.
 

J-G

Adventurer
Member
Joined
Oct 4, 2019
Messages
429
Reaction score
105
First Language
English
Primarily Uses
RMMV
@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

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,264
Reaction score
539
First Language
Portuguese - Br
Primarily Uses
RMMV
@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
 

Eliaquim

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,264
Reaction score
539
First Language
Portuguese - Br
Primarily Uses
RMMV
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).
 

J-G

Adventurer
Member
Joined
Oct 4, 2019
Messages
429
Reaction score
105
First Language
English
Primarily Uses
RMMV
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.
 

J-G

Adventurer
Member
Joined
Oct 4, 2019
Messages
429
Reaction score
105
First Language
English
Primarily Uses
RMMV
yup that was the issue, thanks, i wouldn't have even notice i was using the wrong thing.
 

Eliaquim

Raze: The Rakuen Zero's Guardian!
Veteran
Joined
May 22, 2018
Messages
1,264
Reaction score
539
First Language
Portuguese - Br
Primarily Uses
RMMV
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!
 
  • Like
Reactions: J-G

decinbr

Veteran
Veteran
Joined
Mar 20, 2015
Messages
70
Reaction score
5
First Language
brazil
Primarily Uses
Sorry my english. I dont know the reason. Often the animations works, but sometimes animations dont work.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Humans are fallible creatures, we all know that. It's when we're forced to look at ourselves that we start to disagree. :p
Expectation: Working on boss battle.
Reality: "Look at how awful are these code and database organization. Let me clean this mess", *yet, casually adding more modules that I have no idea if I would use it later*
Trying to learn to read Japanese so I read my manga. I like to buy them without all the edits made during translation.
The only thing getting me through today so far is coffee. And lots of it.
Amazing. I had seen it more than 10 years ago, but seeing Monster this year was an incredible experience. It was certainly one of the best endings I've ever seen in anime.

Forum statistics

Threads
97,852
Messages
947,383
Members
129,079
Latest member
DerLaPux
Top