Random Direction Shake Screen

Because the horizontal shake is ugly​

Vanilla:
orishake.gif


Plugin:
shake.gif


Command preview:
Screenshot_105.jpg


Power = How much displacement (shake) that you want. Recommended to stay below 10
Duration = The duration of the shake
Diminish = If set to true (ON), the shaking power will gradually get weaker.

Plan:
Looping/persistent shake and as well as the option to stop it.

Download:
On attachment.

EDIT:
Someone reported that this plugin will not work VisuStella's Core Engine after their latest update.
I didn't test myself, so keep that in mind if you're planning to use both.
Wow nice to see you back Theo I always admired your works on VXA ^^
Niceee!! Now we can make earthquake scenes look more epic! <3 Thanks for your work, Theo! 😀
Downloaded, thanks Theo ^^
Nice work. Default screen shake definitely is a bit too unrandom.
Hey Theo.

I have added and enabled this plugin in my MZ project and strangely non of the parameters show and the screen shake is still default.

Any clue as to why this is happening?
Hey Theo.

I have added and enabled this plugin in my MZ project and strangely non of the parameters show and the screen shake is still default.

Any clue as to why this is happening?
Enable the plugin and use the plugin command. Not the default shake screen.
Enable the plugin and use the plugin command. Not the default shake screen.

Like I said. I have enabled it. There's nothing in the help file mentioning anything about plugin commands, no parameters, nothing.
If the description is unclear, it probably my fault for not clarifying it.
But in case you're missing this.

Screenshot_246.jpg


And you are not using MV, are you?
Because the MV version is different.
If the description is unclear, it probably my fault for not clarifying it.
But in case you're missing this.

View attachment 158487

And you are not using MV, are you?
Because the MV version is different.

Like I said. It is MZ and there is nothing on my end.

Video proof:
Like I said. It is MZ and there is nothing on my end.

Video proof:

You're not showing the event.
As I said, it's on the event command

EDIT:
in case if it isn't clear enough, I attached the gif
Spoiler
ZJD3QFB.gif
You're not showing the event.
As I said, it's on the event command

EDIT:
in case if it isn't clear enough, I attached the gif
Spoiler
ZJD3QFB.gif

Oooh I get it now! I am still too used to how MV did it where you had to input the plugin commands manually.

My bad! Sorry for wasting your time. 😅

Edit: Anyway, can we get an option for shake speed like the default one has?
Edit: Anyway, can we get an option for shake speed like the default one has?
If I added "speed", what would you expect to happen?
If I added "speed", what would you expect to happen?

Similar to what the speed option in the built-in screen shake does. :yhappy:
Similar to what the speed option in the built-in screen shake does. :yhappy:
That is not helping.
In default, speed is like how fast it moves from left to right.
I don't have that one.
That is not helping.
In default, speed is like how fast it moves from left to right.
I don't have that one.

Precisely, it would affect how fast the shaking is overall not just from left to right.
Precisely, it would affect how fast the shaking is overall not just from left to right.
Precisely, there is no speed in my shake screen function.
All it does is randomize the pixel displacement from 0 to whatever power you put in the plugin command parameter.

Let say, you put 10 as the power.
Then the game will randomize the shake between 0 - 10, you got a number 4 for X and 7 for Y
So the screen moves to that direction right away.
Then in the next frame, it rolls a different number, let's say you got -5 for X and 1 for Y.
So the screen moves to that direction right away.
Repeat this all over again, and you get my shake screen effect.

I still have no idea where speed matters in this case.
In regards to NeoPGX speed,
The only speed I can see here is the diminishing "speed", which is this case is a linear curve. The only way I can see to control the curve is adding a parameter for easing functions. I have no Idea how to deal with easing functions in a simple and friendly way, though.

Does anyone here knows a way or a script that does that already?
Because, if this isn't what NeoPGX is asking for, I was personally fiddling with this script trying to implement this very feature.
I can try to make an easing function for diminishing power, but I'm not sure if that is even necessary.
Anyway, you can try to edit it if you want and let me know how is the result. Because it is out of my scope (I'm already satisfied with how it works).
No problem.
I will try something and if it works I will post it here later.

Original thread: https://forums.rpgmakerweb.com/threads/random-direction-shake-screen.125522/