Discuss Scratch
- Discussion Forums
- » Show and Tell
- » Cryptiscript Documentation Forum
- AmazingMech2418
- Scratcher
1000+ posts
Cryptiscript Documentation Forum
Cryptiscript Documentation
About Cryptiscript:
Cryptiscript is a new programming language for the collaboration CrypticOS. It is text-based and uses a pen renderer by @SimplyKomplex to render apps and games. It is like a mixture of JavaScript and Python in syntax.
Documentation:
var - set a variable or list - var $variable = value hi - Will set $variable to “hi” - Stack
value - return a value - value hi - Will set return variable in the project to “hi” - Stack
use - enable an addon (print is the only current addon) - use print - Will enable print addon - Stack
print - add text to the list named “print” if the addon is enabled - print hi - Will add “hi” to the print list - Stack
endUse - disable an addon - endUse print - Will disable the print addon - Stack
end - stop a section. only current section is “all” - end all - Will stop the project - Stack
pixel - place a pixel - pixel 1 2 255 255 255 - Will place a white pixel at 1,2 - Stack
math - return the answer to a mathematical expression - math 1 + 2 - Will return the sum of 1 and 2 - Reporter
repeat - add a repeat loop to the program - repeat 1 3 md - Will repeat lines 1 through 3 until the mouse is down - Stack
forever - adds a forever loop - forever 1 3 - Will repeat lines 1 through 3 until project is stopped - Stack
if - a conditional statement - if 1 3 true - Will run lines 1 through 3 if true is true (which it is) - Stack
goto - go to a line of code - goto 3 - Will skip to line 3 - Stack
md - mouse down? - md - Will return true if the mouse is down. - Reporter
nmd - opposite of md - nmd - Will return false if the mouse is down - Reporter
not - will return the opposite of a value - not true - Will return false if the mouse is down- Reporter
Variable Usage:
$variable = use a variable
%a11 = get line 11 of list a
About Cryptiscript:
Cryptiscript is a new programming language for the collaboration CrypticOS. It is text-based and uses a pen renderer by @SimplyKomplex to render apps and games. It is like a mixture of JavaScript and Python in syntax.
Documentation:
var - set a variable or list - var $variable = value hi - Will set $variable to “hi” - Stack
value - return a value - value hi - Will set return variable in the project to “hi” - Stack
use - enable an addon (print is the only current addon) - use print - Will enable print addon - Stack
print - add text to the list named “print” if the addon is enabled - print hi - Will add “hi” to the print list - Stack
endUse - disable an addon - endUse print - Will disable the print addon - Stack
end - stop a section. only current section is “all” - end all - Will stop the project - Stack
pixel - place a pixel - pixel 1 2 255 255 255 - Will place a white pixel at 1,2 - Stack
math - return the answer to a mathematical expression - math 1 + 2 - Will return the sum of 1 and 2 - Reporter
repeat - add a repeat loop to the program - repeat 1 3 md - Will repeat lines 1 through 3 until the mouse is down - Stack
forever - adds a forever loop - forever 1 3 - Will repeat lines 1 through 3 until project is stopped - Stack
if - a conditional statement - if 1 3 true - Will run lines 1 through 3 if true is true (which it is) - Stack
goto - go to a line of code - goto 3 - Will skip to line 3 - Stack
md - mouse down? - md - Will return true if the mouse is down. - Reporter
nmd - opposite of md - nmd - Will return false if the mouse is down - Reporter
not - will return the opposite of a value - not true - Will return false if the mouse is down- Reporter
Variable Usage:
$variable = use a variable
%a11 = get line 11 of list a
I'm a programmer, ethical hacker, and space nerd!
Last edited by Neil Armstrong (July 20, 1969 20:17:00)
sam
- SimplyKomplex
- Scratcher
100+ posts
Cryptiscript Documentation Forum
cool, that helps a lot!
SimplyKomplex
- ZeekPlayz
- Scratcher
21 posts
Cryptiscript Documentation Forum
This is an AMAZING concept that deserves to be made as heck!
I would DEFINATELY want to support this OS's development!
I would DEFINATELY want to support this OS's development!
Check out my simple yet amazingly puzzling game Hover: https://scratch.mit.edu/projects/236185978/
- AmazingMech2418
- Scratcher
1000+ posts
Cryptiscript Documentation Forum
Thank you! Just ask This is an AMAZING concept that deserves to be made as heck!@SimplyKomplex to join.
I would DEFINATELY want to support this OS's development!
I'm a programmer, ethical hacker, and space nerd!
Last edited by Neil Armstrong (July 20, 1969 20:17:00)
sam
- Discussion Forums
- » Show and Tell
- » Cryptiscript Documentation Forum