tetrio / issues

Report issues and discuss improvements / feature requests around TETR.IO
https://tetr.io
387 stars 21 forks source link

An ability to change piece spawn height in custom rooms/games #1274

Open KonSola5 opened 3 months ago

KonSola5 commented 3 months ago

Checklist

Is your feature request related to a problem? Please describe.

TETR.IO always spawns pieces on (height + 1) row (row 22 with default board size), so if you wish to more accurately replicate for example, NES ruleset (spawns pieces mostly on row 19), TE:C (spawns pieces on row 20), or PPT ruleset (spawns pieces on row 21), you can't do that.

Describe the solution you'd like

An option to change the piece spawning offset, relative to the field height (with 0 being right above the skyline). Default offset would be 1.

This should be also validated so the spawnpoint always lays in bounds (so not below the floor and not above the buffer zone)

Describe alternatives you've considered

Changing field height. However this resizes the board, and Lock Out can't be replicated accurately.

Additional context

No response