Route credit: AMJ
This is a dumb project, but I'm glad it ended up working. After the introduction of svar arithmetic and svar substitution in sar functions, it has become possible to implement games in the sar hud or the console. This is modern tetris.
You need to be on SAR 1.12.4 and up for this to work.
Some links:
- AMJ's classic tetris: NOT DONE YET
- Video demonstration: https://youtu.be/3owpEVV5mxc, Older vid: https://www.youtube.com/watch?v=saZclsoA1XE
- Download the configs by clicking the green "Code" button, then "Download zip"
- Put the tetris folder such that you have
cfg/tetris/tetris.cfg
cfg/tetris/display.cfg
, etc - Set your binds in the
tetris/controls.cfg
file (do not override other binds) - Optionally modify the coordinates at which the tetris board appears, and more in
tetris/settings.cfg
- Run
exec tetris/tetris
in the console to run SARtris! Running this twice may cause issues.
- Hide and display SARtris at will without affecting the hud or toasts (if you have some sar_hud_text set already, it will look weird but should reset fine)
- Togglable gravity
- 7-bag, SRS, hold
- Legal in portal 2 runs
- Cool UI
- Open source
- Created using the SAR game engine
- Maybe loss detection
- Previews
- Display responsiveness (Necessary to spread out the lag)
- Can cause small lagspikes depending on specs