studio icon indicating copy to clipboard operation
studio copied to clipboard

Import from Scratch Programming Language

Open alexvaut opened this issue 5 years ago • 2 comments

My kids like their Lunii and even more now since I added a couple of stories that I grab here and there. I also add some fancies sounds in the menu which make them laugh.

My kids are old enough to play with scratch (the programming language). https://scratch.mit.edu/ and they love building stories their with sounds, images...

So what about exporting their scratch programs to Lunii ? Of course, the program will have to follow some patterns but I believe that background changes, sound plays, switch case blocks can already make something nice. It could work pretty well I believe.

What do you think ?

alexvaut avatar Feb 20 '21 17:02 alexvaut

Hello, I don't know scratch but all is possible. Can you here upload an exemple of a scratch generated package? Maybe it is possible to convert it for Lunni. All Lunni need is :

  • images
  • waves
  • a JSON file that respect Lunni Format

thi71126 avatar Feb 23 '21 19:02 thi71126

@alexvaut I've actually thought about this :-) However I don't know enough of Scratch (just used it once with my kids) to think of a way that would be both idiomatic to Scratch and constrained enough to achieve a consistent conversion. Let the user use any block and most will be ignored when converting, leaving the user puzzled. Define custom blocks and you're constraining the user so much that they'd better use the dedicated editor in STUdio. I'd be happy to be wrong, though :-)

marian-m12l avatar Feb 25 '21 08:02 marian-m12l