hang on i rushed this post, maybe some errors in the files i imported idk, i'll check tomorrow, but take a look anyway if you want
i think this is a good place to stop my project. (unless i come back with more tomorrow)
so basically, the coding sucks. but at least there’s some cool stuff. for example…
- 7-bag randomizer
- pretend there’s a “bag” with all the 7 pieces. the game picks the next piece by reaching into this bag and taking out a piece. the game will take out all 7 pieces before refilling the bag to take out of again. this will perfectly balance the number of each piece, so you don’t get 4 S pieces in a row or go without an I piece for a very long time.
- SRS rotation
- when you look deep down SRS, it’s pretty stupid, but it’s very useful in modern tetris.
- customizable controls, DAS, ARR, SDF, gravity, etc
- go into the default tab of “physics”
- DAS (delayed auto-shift) is how long you hold left or right before the action repeats itself. smaller is faster.
- for some reason, this took so long to make, especially DAS priority (if you press left and right, which one is prioritized)
- ARR (auto repeat rate) is how long it takes for the action to repeat, after DAS finishes. smaller is faster.
- SDF (soft-drop factor) is how much faster than gravity soft-dropping is. bigger is faster.
- gravity is actually frames per block fallen, not blocks per frame. smaller is faster.
- t-spin detection
- t-spins are complicated… but it uses 3-corner checking. there’s no mini t-spin detection yet.
- action text
- capture things like how many lines you cleared (single, double, triple, quad), whether or not it’s a t-spin, and whether or not it’s back-to-back (the previous clear was also a quad or t-spin)
- next pieces and hold piece
- i think you can have as many next pieces as you want, as long as you implement them correctly. (i didn’t actually try it…)
- ghost piece
- and a lot more
my actual submission is a survival game. you have X pieces before garbage is injected onto your board. you can “fight back” by performing quads, t-spins, and all clears. by “fight back” it means that you increase the number of pieces before garbage is sent. as the game progresses, garbage is more frequent. the score is the number of pieces you placed.
base game, nothing special, but feel free to do shenanigans and test things out without being bombarded by garbage lines
fancy block game10-28-2021_13-47-49.wick (1.1 MB)
ACTUAL GAME
if you want to make the garbage tamer, find project.garbageLinesPossibilities
the block game strikes back10-28-2021_22-21-03.wick (1.1 MB)
less stuff (no action text, no sounds, no camera shake)
the block game strikes back (slightly less graphics)10-28-2021_22-21-01.wick (75.6 KB)
the sounds are from tetr.io. everything like the blockskin and physics was made in wick by me.
i’m interested to see what scores you all have… remember you can change your controls, and you can bind multiple keys to one action.