10 lines
315 B
JSON
10 lines
315 B
JSON
[
|
|
{
|
|
"sheet_type": "code",
|
|
"value": "x = code_sheet(1);\nreturn {\n\tinit: () => {y = 0},\n\tupdate: () => {\n\t\ty += speed;\n\t\tif (y > 127) {\n\t\t\ty = -6\n\t\t}\n\t},\n\tdraw: () => {\n\t\tcls();\n\t\ttxt(x, y, 'hello world')\n\t}\n}"
|
|
},
|
|
{
|
|
"sheet_type": "code",
|
|
"value": "speed = 2; return (8)"
|
|
}
|
|
] |