Skip to content

RainbowwPhoenixx/SARtris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 

Repository files navigation

SARtris

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:

Setting up

  • 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.

Features

  • 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

Upcoming features (open to PRs 👀)

  • Maybe loss detection
  • Previews

Known issues

  • Display responsiveness (Necessary to spread out the lag)
  • Can cause small lagspikes depending on specs

About

A tetris game for the SAR hud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages