Skip to content

[Feature] Allow "angle" for EnvShake sctrl. #823

Description

@Hexioum

As it is now, every screenshake is only vertical, but there is other fighting games (BBCF, P4AU) that allow the screenshakes have different angles.

Describe the solution you'd like
Add a parameter for the EnvShake sctrl that is "angle".
angle = 0 is the default parameter, means the shake is vertical.
angle = 45 diagonal-up envshake. Diag-up and then diag-down in the opposite direction.
angle = 90 horizontal screenshake. Always to the right side of the screen.
angle = 180 would be the same as angle = 0 if you chose a negative ampl.

Another example,

type = envShake
trigger1 = moveHit
time = 12
ampl = 6
angle = 90*facing

Means that the screen will always move first in the direction of the player that made the attack.

Additional context
This is another game that has this feature.
https://www.youtube.com/watch?v=tspf-Z6tbGY&t=22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions