(0 0.3 0.2) jtx version 1.0-;
(0 0.8 0.5) you can distribute jtx transcripter for free and even for commercial purposes-;
(0 0.8 0) License-;
(0 0 0) This software is free to use for any purpose.-;
(0 0 0) Commercial usage is fully allowed, including selling products based on this software.-;
(0 0 0) Redistribution, modification, and incorporation into other software or systems is permitted without restriction.-;
(0 0 0) You may create and sell your own distributions of this program.-;
(0 0 0) No warranty is provided. Use at your own risk.-;
(0 0.5 0) all programs created by the user belong to the user and it is the user who decides what to do with them-;
(0.7 0 0.7) Jtx Coding Guide: -;
(0.5 0.2 0.7) fun name(args); end; -; - create function
if -> import * "functions";
(0.5 0.2 0.7) f name(args); end; -; - create function
(0.5 0.2 0.7) printf("hello world") -; - print's text in console
-> import * "terminal" - shows console
(0.5 0.2 0.7) for let i=0,i < array.. ,i++ ; end; -; - for function
(0.5 0.2 0.7) name = Input("type",(data)=>{ },setvalue) -; - create input "type" - "input","enter","submit" submit needs name.submit() to submit code
(0.5 0.2 0.7) name = InputFile((output,filename)=>{ }) -; - pickup file
(0.5 0.2 0.7) graphics = createscreen("id",zindex) -; - create screen its need to show console
(0.5 0.2 0.7) clrscr() -; - clears terminal
(0.5 0.2 0.7) DownloadText(text,filename) -; - downloads text
(0.5 0.2 0.7) wait ms; end; -; - executing script inside ms is milliseconds for example (0.3 0.5 0.6)"wait 2000; end;"-; 2s
(0.5 0.2 0.7) -> import storagevar "storage" -; - createstorage
staragevar.save(slot,data) ; storagevar.load(slot,(data)=>{ })
(0.5 0.2 0.7) namepoint = getPoint() -; - setup variable for get point
^~ (0.5 0.5 0.7) getpoit2= namepoint()-; - gets point position {x,y, button}
getTouches(max touches) works the same but for multiple touches [{},{}] etc
keys=getKeyboardKey() ; activekeys=keys() ; activekeys returns keycodes []
About Code Editor V1.0:
your files is stored in resources["file"]
on pc USE wheel to scroll.y
use wheel + shift or alt for x scrolling
use wheel + ctrl for zooming
(0.8 0 0) i recommend you to save your projects
editor localstorage isn't great and sometimes its forgoting your files :)
bruh...-;