sb3-generator
v1.0.0
Published
A package that generates .sb3 project files.
Downloads
7
Readme
SB3 Generator
SB3 Generator is a node library that generates .sb3 (Scratch 3) project files.
Example:
Here is an example of how you can use this library to generate a simple project.
import {createCostume, createProject, createSprite, createVariable} from './sb3Generator.ts';
createProject('TestProject')
.withSprite(
createSprite('Stage')
.asStage()
.withVariable(
createVariable('TestVariable')
.withValue(10)
)
.withCostume(
createCostume('TestCostume.png')
)
)
.build();Docs:
You can find the documentation in the DOCS.md file.
