Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotating a piece near a wall can stall the piece #1277

Open
5 tasks done
KonSola5 opened this issue Mar 21, 2024 · 1 comment
Open
5 tasks done

Rotating a piece near a wall can stall the piece #1277

KonSola5 opened this issue Mar 21, 2024 · 1 comment
Labels
bug Something is not working properly

Comments

@KonSola5
Copy link

KonSola5 commented Mar 21, 2024

Checklist

  • I've checked both open and recently closed issues to ensure this issue is not already reported.
  • I am using the newest version of TETR.IO.
  • I am using a supported browser or the Desktop Client.
  • I am not using anything that modifies game code (e.g. TETR.IO PLUS).
  • I am certain this is a bug, not a feature request.

OS and Version

Windows 10

Browser and version

Firefox 123.0.1

Describe the bug/issue

Rotating a piece near a wall at or above the spawnpoint of that piece anywhere on the wall can stall the piece, until the kick limit kicks in and pushes the piece downward.

Works in all modes, both singleplayer and multiplayer.

If the piece already fell down due to the kick limit, no more stalling can occur.

Reproducing

  1. DAS a piece to the side, and keep holding the direction key.
    The piece needs to be able to kick/rotate, so O pieces will only work in ASC.
  2. Start spamming any rotation key, while holding the direction key.
  3. Notice that the piece doesn't fall, until the kick limit is reached.

Expected behavior

The piece should be affected by gravity at all times, and rotations near a wall should not affect the piece falling.

Screenshots

This video was taken in Zen in Relaxing gravity.

speen.mp4

Console logs

Not needed.

Additional context

No response

@KonSola5 KonSola5 added the bug Something is not working properly label Mar 21, 2024
@ZaptorZap
Copy link
Member

This is 100% known to osk and I believe is an intentional quirk of the engine. Notice that you aren't out of lock resets once the piece hits the ground. Mechanics dictate that the number of lock resets are brought back up to 15 after the piece reaches a newest low row in the board.

The piece's gravity timer is reset because a kick occurred(one off the wall). After only so many of these resets, the anti-stall mechanic for no longer applying this reset kicks in, as demonstrated in your video. If this behavior were truly unintended, I'm sure that the aforementioned anti-stall would simply be in-effect at all times.

That said I'm not a developer, so I don't feel like I have the authority to close this as invalid.

@KonSola5 KonSola5 changed the title Rotating a piece near a wall at or above the spawnpoint can stall the piece Rotating a piece near a wall can stall the piece Mar 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working properly
Projects
None yet
Development

No branches or pull requests

2 participants