Can't Show Animation on a picture...looking for options & have a question about the Play Movie event command...can you make it smaller?

So I am experimenting with Eventing a battle system. One of the first things I did was to display a Background for the battle scene (Image 1) and then I am displaying enemies on top of the Background. Things are going pretty good until I wanted to try to Show Animation for attacks on the enemies.

I researched and it looks like you have to set the Show Animation to an Event. But when I tested it, I believe the animation is under the pictures and it can't be seen.

I am testing alternatives like using Play Movie to show gifs of attacks. But the Play Movie fills the entire screen, which isn't horrible I guess.

I am just wondering if anyone has any ideas on how to Show Animation ON TOP of a picture on the screen, if that is even possible.

If not, any suggestions on alternatives? Other than the Play Movie option? Or using a plugin. I am trying to do this with Eventing until I succeed or get to a point where I can't make it work.

And, about the Play Movie, is there a way to make the Play Movie window smaller so it doesn't cover the entire screen?

Your input is greatly appreciated!

Thanks!

EDIT: So from more testing, I realize that if I get rid of the background, then you can see part of the animation behind the enemy and I can put a blood splatter picture on top of the enemy. Which isn't too bad. But I sort of wanted to have the background scene instead of just a map.
You could try a plugin like this (untested):
JavaScript:
/*:
 * @target MZ
 * @plugindesc Map animations show on the picture container instead of the tilemap.
 * @url https://forums.rpgmakerweb.com/index.php?threads/154172/
 * @help Free to use and/or modify for any project, no credit required.
 */
void (alias => {
  Spriteset_Map.prototype.createPictures = function() {
    alias.apply(this, arguments);
    this._effectsContainer = this._pictureContainer;
  };
})(Spriteset_Map.prototype.createPictures);
I've used something similar for showing animations on top of the battle status window~
@caethyril Thanks so much for this!

Since I have never done this, to use this as a plugin, I would take the following steps?

  1. Copy the entire JS above into an editor, like Notepad.
  2. Save it as a .js file.
  3. Put the .js file into the .js folder of my project.
  4. Activate the plugin like any other plugin.
And then it should work?

I really want to test this, but I want to confirm that the steps I outlined above are how to do it correctly.

Thanks again!

EDIT: Answered my own question! I had to download Notepad++, but then I was able to do it and it works like a charm! Now I have options!

Thanks again!

Does anyone know if you can make the Play Movie smaller? With or without a plugin?
Great! For future reference, you can do this with only Notepad. Just make sure to choose "File Type: All Files" when saving, otherwise it'll automatically add a file extension, usually ".txt". 👋

Play Movie uses a HTML video element. By default the engine resizes this to fill the screen on boot and on screen resize, but that could be changed with a plugin. Also, by default Play Movie sets the interpreter to wait until it's done; again, that could be changed with a plugin. I haven't really experiemented much with video in MV/Z. 😴
Great! For future reference, you can do this with only Notepad. Just make sure to choose "File Type: All Files" when saving, otherwise it'll automatically add a file extension, usually ".txt". 👋

Play Movie uses a HTML video element. By default the engine resizes this to fill the screen on boot and on screen resize, but that could be changed with a plugin. Also, by default Play Movie sets the interpreter to wait until it's done; again, that could be changed with a plugin. I haven't really experiemented much with video in MV/Z. 😴
Awesome, thanks! I had that .txt issue trying to use Notepad so I thought I needed something else and I remembered other threads mentioning Notepad++!

It is great to know that a plugin could manipulate how the Play Movie displays. I don’t think that is my preferred method of doing what I want to implement, but it is very nice to know for future reference in case I uncover something I really want to do with the Play Movie command.

And maybe this will help someone else who is searching for similar information.

Thanks again! You are always exceptionally helpful. And maybe I will eventually get to a point where I actually understand what the JS that you provided above is doing!

Baby steps!
On reflection, the editor gives a lot of control for pictures, but very little for video, so your best bet on that front would probably be a plugin for animated pictures. If the "animation" is a picture, that also gives you control over the Z-order (layering).

You're welcome!

Original thread: https://forums.rpgmakerweb.com/threads/cant-show-animation-on-a-picture-looking-for-options-have-a-question-about-the-play-movie-event-command-can-you-make-it-smaller.154172/