BlockDate randomly throws games
I love this but this weird bug has happened to me several times. Is there a shortcut to throw the game that I'm pressing by accident (and if so, can I turn it off?) Video attached
https://user-images.githubusercontent.com/241834/188274058-aae0e448-ba18-4e31-9068-6c95466e1214.mp4
I reported this some months ago on Itch, right when this current version was deployed. At the time I thought it was related to the score, but I’ve since realized that it seems to be randomized. The game just decides to end. Doesn’t matter how many lines you have, how long you’ve been playing, how high the playfield is, or what your score is.
There are also slowdown issues with the banner, among other bugs. All were introduced in the latest version.
I honestly have no clue why does that happen, however I can tell that it probably is happening around when the game checks if there is space to spawn the next piece, I'd have to check over there
Space meaning literal, as in the top of the playfield? Or space as in an "out of memory" error? If the former, I have had the game end with an empty field, nearly empty, half-full, full, basically every possible variant.
former
Is this still an issue in yesterday' build?
If so please point to the code where the problem seems to be and I'll take a look!
I think it's somewhere in or after the rotation code but I am not sure it doesn't help that I don't know how to debug either