ScratchData LogoScratchData
Back to MCLTang's profile

TETRIS

MCMCLTang•Created May 10, 2023
TETRIS
29
23
1626 views
View on Scratch

Instructions

Controls: right/left: move piece up/x: rotate clockwise z: rotate counterclockwise down: soft drop space: hard drop c: hold p: pause ------------------------------------------------------------------ Technical Info: all the code was made by me with mainly just the guidance of the Tetris Design Guideline (2009), so it may be far from optimized. Tetris Guideline doesn't have Mini t-Spin Double. In tetris.com it just counts as a normal double clear, but it exists(would be easier to do than to make one exeption): (https://harddrop.com/wiki/T-Spin_Mini_Double) I didn't found the points for it, but normally T-Spins worth 4 times more than Mini T-Spins, so if T-Spin Double is 1200, Mini T-Spin Double might be 300. All clear is also not in the guideline, but with informations of the internet, I found that it worths 1200 points. The Back-to-Back is only applied to the points gained by the lines cleared themself. (ex: all clear with 4 lines B2B: "All Clear Tetris -w/ Back-to-Back", +(1200+(800*1.5))) The game has SRS(super rotation system), and as I made normal rotation in my way first, the default rotation of the "I" doesn't have offset. The whole table is shifted.(if test 1 for direction 2 is -1,1; it changes 1 and -1 to go to 00, so in the my table; everyone will be changed 1 and -1 on direction 2).

Description

Tetris Design Guideline: https://github.com/frankkopp/Tetris/blob/master/2009%20Tetris%20Design%20Guideline.pdf Reference: - https://tetris.com/play-tetris (the one I based from) (other useful ones:) - https://tetr.io/ - https://jstris.jezevec10.com/ Super Rotation System: - https://www.youtube.com/watch?v=yIpk5TJ_uaI&t=579s&ab_channel=TurboMakesGames --> 9:15(srs offset data table) - https://harddrop.com/wiki/SRS T-spin articles: - https://four.lol/srs/t-spin - https://harddrop.com/wiki/T-Spin_Mini_Double Songs: - https://www.youtube.com/watch?v=UvAc_IPwIw4&ab_channel=ZombieTurkey - https://archive.org/details/TetrisThemeMusic how to pause a song in scratch: https://www.youtube.com/watch?v=EJKvoNnQJqc&ab_channel=TheSTEAMist

Project Details

Project ID848166237
CreatedMay 10, 2023
Last ModifiedJune 27, 2025
SharedMay 10, 2023
Visibilityvisible
CommentsAllowed