Skip to content

Using the Shake Screen command with 0.0 second will stop the current shake without resetting how it should be displayed #3081

@Mimigris

Description

@Mimigris

Name of the game:

Yume 2kki version 0.120h.

Player platform:

Windows, 64 bits continuous build of the player and webplayer (YNOproject).

Describe the issue in detail and how to reproduce it:

When a 0.0 second Shake Screen command is used while the screen was shaking, instead of resetting the shake state and put back the camera instantly correctly, EasyRPG will stop the current shake from occurring without putting back the camera correctly, and the shake will not be considered as being stopped.
This can be done in Yume 2kki by waking up at the right timing while the screen is shaking in Fish World (Map 1498): once woke up (the Shake Screen 0.0 second is in the wake up script), you will notice that the screen will be a bit moved on the left or right allowing you to see the panorama which shouldn't be possible.
image
From this, the only ways to fix that are to either receive another screen shake command cancelling the bug or to save and load the save in RPG_RT (EasyRPG will not alter anything related to the issue when loading or saving), though loading your save in RPG_RT will show you the end of the shake screen, which should normally have happened earlier.

Here's a test case for it: Talking to the npc on the right will shake the screen for 10 seconds, and the one on the left for 0 second, while the npc in front of you allows you to use the Load Menu (related to what was mentioned earlier): talking to the npc on the right then the one on the left while the screen is still shaking should cause the issue.
Shake.zip
image

The bug was reported by several users on YNOproject and it was explained to me on how to reproduce it by ChatteringTeethDemon, say thanks to them for finding this!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions