for example, I need little camera shake (extension) and big camera shake,…if big camera shake starts and then starts little camera shake, the big one stops,…so is there a way for both to coexist (to have 2 camera shake extensions) ?
Problem you want to solve is solvable but not the way you think
What you are trying to do is like have 2 extension where one would make player move 20 pixels per sec and other idk 100 pixels per sec (making running like behavior)
What you would do is not have 2 separate extensions for that but just set up movement speed or forces applied to player via events
And same goes for camera shake
You do not want two extensions for that
You want to manipulate via events intense of shaking and on demand change it if you want to
For example softer shake if normal enemy explode but harder more intense shake if big enemy explode
Where all you need to do is specify strength of shake for each and when one should play and interrupt other one
And that is pretty much it
I forgot to add
It is 100% possible to have 2 of the same extensions in your game i did it when i was modifying fire bullet extension
But for actual game like i said above it would make no sense
But if for whatever reason you need it then you could
thanks for reply
I want that one shake (softer) doesn’t interrupt the big shake. Is there a way ?
Is one of your shakes for an object? Can you use the shake object extension and the camera shake extension together? Or can you use multiple camera shakes with different layers?
You still have bad idea about it
You should not think of it as interrupting one with another
You should think of it like this
My camera is softly shaking
Now harder shake comes into place
I disable soft shake and enable hard shake
If soft shake should still go on after hard shake is over i simply disable hard shake and enable hard shake
On top of that you simply go with 3 shake frequencies
1 - soft shake
2 - hard shake
3 - hardest shake which should mimic soft+hard shake at once (which would occur if both shakes would play where in reality you simply disable shake 1 and shake 2)
ok, i’ll try
you got me with Mando
it works, when i put in condition no shake > action then it can be applied small shake
thanks