Created
August 24, 2020 17:12
-
-
Save Karolis2011/e6ae486b83694ad5f969fe17ebe16fb9 to your computer and use it in GitHub Desktop.
NTSL2++ demo scripts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(" "); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
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