It's loading (depending on the size of the animation.) So if you keep using it, it will show up. This is why it's important to preload resources.
it's hard to imagine it's still loading it when it's been about 3 hours now when I've been trying to get it to work, but I'm most likely way wrong on it. :/
it's only 19 frames long... by keep using it you mean just keep doing "battle test" and soon it will just start working.
I made it with all the resources that are in the "RPG Maker MV" I just used StateDeath animations and just make it look it's biting down.
I'm not sure how to go about "preloading my resources"
but you don't worry about it... I'll get a hang of this and all the stuff I need to learn one step at a time.
Thank you for the reply and sorry that my question is something simple and dumb to ask about. -.-;
Is that 3 hours of waiting and then continuing a battle, or 3 hours of testing, going back to the editor, and trying something else? Every time you close the game, the resources are all unloaded, so every time you go back in again, you have to reload them.
Play, start a battle and let him use the skill once. Then just wait a bit before continuing battle. It should really only take a few seconds, but give it 30 just to make sure. Continue the battle, and if the animation plays, that's what the problem is.
There's one or two preloading plugins available.
Out of interest, can you give a screenshot of the animation tab with the animation selected, after clicking on the Change Target button? That might have some useful information, if the above is not the problem.
I added another question to my post above yours. Can you please provide that screenshot?
When you hit Play in the animation editor, does it work?
oh ... are you using side view or front view battles? Animations on your actors will only play if you're using side-view battles.
yep, because front view just gives you a hud, not your actor sprites. And as the animation needs to play over the actor sprite, you need to use side view, so the actor sprite is on the battlefield.
In fact, I don't think the actor faces are even displayed by default on front view, are they? Isn't it just the actor names, in a list? You would need a plugin if you have any graphic representation of your actors at all, and then that plugin would need to have battle animations enabled over the hud characters.
Thanks for the screenshot - I realize it was not what I was thinking of. I was interested in the position/target of the animation, and I see it's set to 'center'. It's all beside the point now, as we know what's causing it to not be shown.
You could change the position from Center to Screen - that might work? I'm really not sure if the animation will play at all, if there isn't a sprite for the target of the skill. But it's worth a shot, and won't take long to test.
rpg_sprites.js line 697 - comment it out.
It's still creating a sprite for the shadow, but it's not assigning an image to it.
If that gives you an error, uncomment the line, and add a new line underneath it:
this._shadowSprite.opacity = 0;
I haven't used Notepad in a long time - Notepad++ will be similar but have more options (including line numbers).
At the moment, apart from Notepad++, I'm using Atom, which is a free text editor with some niceties for coding. You should try it out 🙂
Sprite_Actor.prototype.createShadowSprite = function() {
this._shadowSprite = new Sprite();
// this._shadowSprite.bitmap = ImageManager.loadSystem('Shadow2');
this._shadowSprite.opacity = 0;
this._shadowSprite.anchor.x = 0.5;
this._shadowSprite.anchor.y = 0.5;
this._shadowSprite.y = -2;
this.addChild(this._shadowSprite);
I tried doing this and it's not working. Is this correct? I think the // is "commenting it out." At least that's what happens when I select single line comment in notepad++.
If you try something and it "doesn't work", always explain what DOES happen - do you get an error message?
If you read the posts fully, you will see that I gave a second solution, in case the first one didn't work.
Sorry, there is no error message. Nothing changes whether the line is commented or not, or whether the animation is set to "center" or "screen." It's the same as having the unmodified js file.
There are 2 "animations" in my game that I wanted to be shown, both of which just play a sound effect and flash the screen. This worked fine in VX Ace by the way, but I'm guessing that Javascript is a bit more complicated. That being said, it's not a game breaker, and it just affects these 2 animations (during battle) that appear once each during the entire game. It's probably better that I don't solve this actually.
I do have another quick question though: when in battle with multiple same enemies it shows "Enemy A, Enemy B, Enemy C etc. Which js file do I edit to get rid of the A, B, and C? This was something in VX Ace where I could just edit the script for it. A bit off topic but I don't think I need a whole new topic for it. Again, it's not a game breaker, so no worries.
Thank you.
Please don't use someone else's solved thread to ask your own questions. At this point you need to start your own thread. You also didn't actually say why you tried to do this in the first place - maybe start a new thread for your original problem, because it may have nothing at all to do with what this thread is about.