Comments
-
... 3 months ago
whart -
-
jesus christ, scroll down, theres a whole ass text file detailing the step by step guide to using it -
Yeah I'm going to guess it doesn't let me because I am scrolling down I don't see it sorry. -
how
step zero - bsl
bsl is the programming language made for backslash
there is documentation for it here
step one - dependencies
make sure you have deno installed
download/clone the source code into some folder, if you have git installed you can run git clone -r
and if you're downloading the zip from git hub, make sure to put TurboWarp's scratch-blocks in the tw-blocks folder
step two - project setup
make a folder for your project
in that folder make a project.prj.yaml file, the contents of it should be something like this
sprites:
stage:
stage: true
name: Stage
costumes:
backdrop1:
format: svg
path: assets/empty.svg
sounds:
code: null
sprite1:
name: Main
code: main.bsl # this is the file containing the code for this sprite
costumes:
costume1:
format: svg
path: assets/cat_dango.svg
it has the settings for your project
step three - writing the code
i'd recommend including base.js first, it has the base scratch blocks
<"blocks/js" "base.js">
i'd also recommend using the vscode extension if you're using that
step four - building the project
to build the project run deno -A /path/to/backslash/main.ts . if you're running this from project directory or deno -A main.ts /path/to/project/directory/ if you're running this from the backslash directory
after that a project.sb3 should pop up in the project folder, this is your built project, you can edit it in scratch/tw/[other fork] but it's not recommended
btw if you like this tool thingy please star the repo and if youre in the tw discord dango the post