MV YEP ActSeqPack2: Shake Screen not working

Hey folks,

So I've once again ran into a problem with the Action Sequence Pack.

The shake screen call out is not working at all, no matter which format I put it in.

Any thoughts?
1) check the order of yanflys plugins if that is correct, as wrong order is the most probably cause whenever something goes strange

2) post a screenshot of how you tried to use shake screen, so that we can check what you have done
Sorry that's my mistake, thought I had uploaded the code structure. Here it is here.

Code:
<Learn Cost: 300 JP>

<Cooldown: 3>

<target action>

hide battle hud

motion walk: user

camera focus: user, 5

zoom: 125%, 5

wait for zoom

move user: target, front base, 30, offset x +300

wait for movement

motion standby: user

animation 52: user

wait for animation

move user: forward, 350, 10

wait for movement

shake screen: 3, 9, 30

action animation: target

action effect

wait for effect

motion damage: user

move user: target, front base, 15, offset x +300

wait for movement

perform finish

reset zoom

reset camera

show battle hud

</target action>
do you have ActSeqPack3 on? I've noticed some really weird... I can't get pack 2 to shake if pack 3 is on at all. but turn it off and the shake comes back. not sure if it's the same with you, but if pack 3 is on, try turning it off.
Yes.. just found the same problem and I look inside plugin
this part of Action Seq 3 is the problem..
JavaScript:
//=============================================================================
// Spriteset_Battle
//=============================================================================
Spriteset_Battle.prototype.updatePosition = function() {
    var zoom = $gameScreen.zoomScale();
    var clamp = BattleManager.cameraClamp();
    this.scale.x = zoom;
    this.scale.y = zoom;
    var screenX = -1 * $gameScreen.zoomX() * zoom + Graphics.boxWidth / 2;
    var screenY = -1 * $gameScreen.zoomY() * zoom + Graphics.boxHeight / 2;
    if (clamp && zoom >= 1.0) {
      var clampX1 = -Graphics.boxWidth * zoom + Graphics.boxWidth;
      var clampY2 = -Graphics.boxHeight * zoom + Graphics.boxHeight;
      this.x = Math.round(screenX.clamp(clampX1, 0));
      this.y = Math.round(screenY.clamp(clampY2, 0));
    } else if (clamp && zoom < 1.0) {
      this.x = Math.round((Graphics.boxWidth - Graphics.boxWidth * zoom) / 2);
      this.y = Math.round((Graphics.boxHeight - Graphics.boxHeight * zoom) / 2);
    } else {
      this.x = Math.round(screenX);
      this.y = Math.round(screenY);
    }
};
If I delete all of this part shake screen will working, camera is still work but a bit not the same as before like below pic
I don't know how to fix it.. Can someone help?
I save my test screenshot before & after delete that part when use skill
with zoom action seq.
Naruto RPG Before Delete.png

Naruto RPG After Delete.png
I solved it myself. Now you can close this topic.

Spoiler: Fix YEP X Action Sequence 3 cause no Screen Shake
Add this line in YEP X Action Sequence 3
this.x += Math.round($gameScreen.shake());
like this.
JavaScript:
//=============================================================================
// Spriteset_Battle
//=============================================================================
Spriteset_Battle.prototype.updatePosition = function() {
    var zoom = $gameScreen.zoomScale();
    var clamp = BattleManager.cameraClamp();
    this.scale.x = zoom;
    this.scale.y = zoom;
    var screenX = -1 * $gameScreen.zoomX() * zoom + Graphics.boxWidth / 2;
    var screenY = -1 * $gameScreen.zoomY() * zoom + Graphics.boxHeight / 2;
    if (clamp && zoom >= 1.0) {
      var clampX1 = -Graphics.boxWidth * zoom + Graphics.boxWidth;
      var clampY2 = -Graphics.boxHeight * zoom + Graphics.boxHeight;
      this.x = Math.round(screenX.clamp(clampX1, 0));
      this.y = Math.round(screenY.clamp(clampY2, 0));
    } else if (clamp && zoom < 1.0) {
      this.x = Math.round((Graphics.boxWidth - Graphics.boxWidth * zoom) / 2);
      this.y = Math.round((Graphics.boxHeight - Graphics.boxHeight * zoom) / 2);
    } else {
      this.x = Math.round(screenX);
      this.y = Math.round(screenY);
    }
    this.x += Math.round($gameScreen.shake()); // <-- Add it here
};
I'm sorry I didn't see this thread earlier - I posted this fix some months ago. Hopefully having it in multiple threads will help people searching for the problem.

It's up to the original poster of a thread (or a moderator) to request a thread be closed - I'm sure it wasn't your intent, but it comes off as rude to declare that someone else's topic is finished 😉
I had this problem and it did fix the screen shake but the zoom doesn't work
I had this problem and it did fix the screen shake but the zoom doesn't work
Then something else is wrong with your project. The added line above that fixes the screen shake has no effect on the zoom commands. I use both in my game.

Rather than tacking onto this old post by someone else about the shaking, you should start a new thread about the zoom (but you can go through all of the standard troubleshooting steps first!).

Eindride, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yep-actseqpack2-shake-screen-not-working.130622/