Skip to content

Instantly share code, notes, and snippets.

@Karolis2011
Created August 24, 2020 17:12
Show Gist options
  • Save Karolis2011/e6ae486b83694ad5f969fe17ebe16fb9 to your computer and use it in GitHub Desktop.
Save Karolis2011/e6ae486b83694ad5f969fe17ebe16fb9 to your computer and use it in GitHub Desktop.
NTSL2++ demo scripts
Term.cursorX = 0;
Term.cursorY = 0;
let maxValue = Term.width * (Term.height) - 1;
for (var i = 0; i < maxValue; i++) {
let r = (i % Term.width) / Term.width
Term.setBackground(r, i / maxValue, (i % 21)/21)
Term.write(" ");
}
(() => {
function reck(){
Term.write("A", () => reck())
}
reck()
})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment