Play GIF in MV (VPlayer. New ver. 1.3) [MV, MZ]

Update v1.3. available.

Changelog

  • Added option to show Animation on screen BELOW pictures
    (“ShowVAnimScreenBelowPictures” script call)
  • Added “MirrorVAnim” script call (for easy hor and ver flip)
  • Added “SetAnchorForVAnim” script call (change anchor point)
  • Now you can pause and resume animation
    (“SetVAnimPause” script call)
  • Fixed animation play issue on some Android devices
  • Added compatibility with DAE Lighting plugin

Download link in thread first post updated


I'm encountering a problem where tiles and events flicker seemingly randomly--even when the plugin is not being actively used (no gif/webm being displayed). This occurs even when this plugin is the only one turned on. Any idea what the cause of this might be?
Try with new update

Is there anyway to invert the gif?

Implemented in 1.3
Update v1.3. available.

Changelog

  • Added option to show Animation on screen BELOW pictures
    (“ShowVAnimScreenBelowPictures” script call)
  • Added “MirrorVAnim” script call (for easy hor and ver flip)
  • Added “SetAnchorForVAnim” script call (change anchor point)
  • Now you can pause and resume animation
    (“SetVAnimPause” script call)
  • Fixed animation play issue on some Android devices
  • Added compatibility with DAE Lighting plugin

Download link in thread first post updated



Try with new update



Implemented in 1.3
You are a legend
after this update sometimes the gifs are not played and I was still a victim of this error.
1635896980844.png
after this update sometimes the gifs are not played and I was still a victim of this error.
I got this error as well. I don't know much about code, but I added // in front of line 1555 (i think) and that fixed it.
after this update sometimes the gifs are not played and I was still a victim of this error.
View attachment 205666
Thank you for report. I just forget comment last debug line. Fixed. Download again plugin.
Sometimes webm I want to play freezes, its kinda random. The game still runs though, dialogue text etc still works.

Do you have any ideas how to avoid freezing? Tbh this has happened even with the standard play movie function, so it might be something on my end. Rpgmaker MV, windows 10.
Sometimes webm I want to play freezes, its kinda random. The game still runs though, dialogue text etc still works.

Do you have any ideas how to avoid freezing? Tbh this has happened even with the standard play movie function, so it might be something on my end. Rpgmaker MV, windows 10.
It's RPG Maker MV only issue.

You can fix with this: https://forums.rpgmakerweb.com/inde...dramatically-improve-game-performance.131620/
th
Thank you!
th

Thank you!
Use 0.48.4 version. It's the NW version which fixes the video play. And later updates I think add too many changes which can cause more issues. At least I tested my project with 0.48.4 and it runs fine.
But yeah, video play is bugged and it is not something anyone can fix. It's the engine issue for using old NW which has this issue (freeze, low video frames on some PC). The same happens to other video plugins as well or even the default "play movie" function.
Update v1.3. available.

Changelog

  • Added option to show Animation on screen BELOW pictures
    (“ShowVAnimScreenBelowPictures” script call)
  • Added “MirrorVAnim” script call (for easy hor and ver flip)
  • Added “SetAnchorForVAnim” script call (change anchor point)
  • Now you can pause and resume animation
    (“SetVAnimPause” script call)
  • Fixed animation play issue on some Android devices
  • Added compatibility with DAE Lighting plugin

Download link in thread first post updated



Try with new update



Implemented in 1.3
Hello, can you do this to put the gif on the background of the battle?
Thank you!👋
Hey, this is a cool little plugin
I already found a salution thanks
Hi KageDesu, thank you for sharing your VPlayer plugin.

I wanted to share with you if you would be able to explore updating the plugin to include X and Y coordinates with negative values? Currently it is only accepting positive values which restricts the positioning of where the animation can be played (negative values required to play animations on the left side of the screen for X coordinates for example). Hope you would be able to look into this request, thank you!
My webms has black background when I convert them from gif to webm. How to remove that?
My webms has black background when I convert them from gif to webm. How to remove that?
That means that his background is transparent
Is there something I am doing wrong? I've tried a thousand of things and nothing works... I have the webm file on the movies folder but it does not appear on the map
1659295154106.png

Here is the map
1659295230659.png
@Sieglinnde can you show us the event you used?
because it's hard to know if it's on parallel, autorun, action trigger etc.

so we cannot really help you with this low information though.
if you have the demo, you can see if it does work there.
@Sieglinnde can you show us the event you used?
because it's hard to know if it's on parallel, autorun, action trigger etc.

so we cannot really help you with this low information though.
if you have the demo, you can see if it does work there.
Thanks for the concern man. I have already solved it. I mean, not with the plugin, but with another thing. Thanks anyway
Hey, I'm trying to use this to put in animated enemies for battles, and I don't know what to do.
I know nothing about coding, script editing, plugins, etc.

So I'm using MV.
I put in a webm file of the dude I want into the 'movies' folder, and I called the file itself Song
Song is the enemy's name.
So in the enemies system tab, I made Song's stats and crap, and I didn't select an image, but in the notes I wrote <GIF:Song>
When I go to do the battle with him though, it displays this error that says, TypeError, Cannot read property 'height' of undefined.

What, what do I do? His size should be the same as a standard default character sprite size, since he's the same as a human. I didn't make any custom sprites for the game.
Do I need to put in the dimensions of the movie somewhere? How do I do that? Do I just need to change the dimensions of the webm gif itself? I don't know what I'm doing or how to fix it.

I would appreciate some help because when it comes to this kind of stuff I'm about as knowledgeable as a newborn baby.
Okay, you know what, I just fixed my own problem. I don't know what I did, but it works now.

Yay!
wallace-and.gif

Original thread: https://forums.rpgmakerweb.com/threads/play-gif-in-mv-vplayer-new-ver-1-3-mv-mz.115378/