Galv's Picture Animations

Galv

Veteran
Veteran
Joined
Oct 1, 2012
Messages
1,274
Reaction score
1,528
First Language
English
Primarily Uses
RMMZ

 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
3,341
Reaction score
21,528
First Language
British 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
210
Reaction score
311
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,274
Reaction score
1,528
First Language
English
Primarily Uses
RMMZ
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
210
Reaction score
311
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,274
Reaction score
1,528
First Language
English
Primarily Uses
RMMZ
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
11
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
529
Reaction score
273
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

Veteran
Member
Joined
Oct 4, 2019
Messages
604
Reaction score
137
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

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,612
Reaction score
976
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

Veteran
Member
Joined
Oct 4, 2019
Messages
604
Reaction score
137
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

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,612
Reaction score
976
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

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,612
Reaction score
976
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

Veteran
Member
Joined
Oct 4, 2019
Messages
604
Reaction score
137
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

Veteran
Member
Joined
Oct 4, 2019
Messages
604
Reaction score
137
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

Hakuen Studio
Veteran
Joined
May 22, 2018
Messages
1,612
Reaction score
976
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
78
Reaction score
6
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

I FINALLY DID IT! 5 years making my very first game and I just officially released it on STEAM..... OMG..... I can say I finished a game! The feelings!!!!!
Stream will be live shortly! I am going to be playing some Among Us! Feel free to drop by!
Ami
tv program always get the ratings (it's the reason why drama series has 1000+ episode),also full and nonsense of censorship (weird blur, a scene getting cut because the unconvenient viewer,but it unconvenient to me either. you never see what the original is)

i know the reason is to take cover the viewer from the negative thing,but i just laughing and mocking of them that they're always suck :guffaw:
Star Chart Idea - Just something I am working on.
My sister learned spanish the old fashioned way and saw my way of conjugating. I don't use the formal method and just wing it. I thought her heart might explode. Apparently, different words use different endings. Weird part is even though I never learned the difference, I still can tell when the endings "look wrong".

Forum statistics

Threads
104,440
Messages
1,006,358
Members
135,959
Latest member
smileclown8
Top