Skip to content

BaileyP2SR/SARtris

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 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 master SAR for this to work. It DOES NOT work on SAR 1.12.3, but will most likely work on 1.12.4-pre1. REMINDER: Don't do runs on master SAR.

Some links:

Setting up

  • 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 ! Do NOT run this twice ! It will make the game forget your normal HUD/toasts parameters. Bind the premade reset and hide commands in the controls config.

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

  • Maybe loss detection

Known issues

  • Display responsiveness (Necessary to spread out the lag)
  • Small lagspikes (really really tiny ones, I promise)

About

A tetris game for the SAR hud.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published