Fix sample cart, and get ready for edit mode

This commit is contained in:
dylan
2023-05-04 20:27:01 -07:00
parent 2a7003b443
commit 6b90d883e9
3 changed files with 25 additions and 8 deletions

View File

@ -1,7 +1,7 @@
[
{
"sheet_type": "code",
"value": "x = code_sheet(1);\nreturn ({init: () => {y = 0}, update: () => {y += speed; if (y > 127) {y = -6}}, draw: () => {clear_screen(); draw_text(x, y, 'hello world')}})"
"value": "x = code_sheet(1);\nreturn ({init: () => {y = 0}, update: () => {y += speed; if (y > 127) {y = -6}}, draw: () => {cls(); txt(x, y, 'hello world')}})"
},
{
"sheet_type": "code",