codefrau / SqueakJS

A Squeak Smalltalk VM in Javascript
https://squeak.js.org
MIT License
364 stars 75 forks source link

I cant open my projects in scratch.js.org #144

Closed GodOfMachinesALT closed 1 month ago

GodOfMachinesALT commented 1 year ago

Hi, in scratch.js.org when i open a saved project, it says that it could not read project. Can you add an option to upload a project from your computer so i can open my work?

GodOfMachinesALT commented 1 year ago

Btw, im on an IOS ipad

codefrau commented 1 year ago

I'm assuming you mean squeak.js.org/scratch not scratch.js.org right?

Note that this is the Squeak version of Scratch (a.k.a. Scratch 1.4) which cannot load files from newer Scratch versions (see https://en.scratch-wiki.info/wiki/Scratch_Versions) (so only .sb not sb2 or .sb3).

I agree that adding a file upload button would be useful, especially for mobile devices.

However, on iPad you can drag a Scratch project directly from the Files app into Scratch (I opened the Files app as a Slide Over window, but Split View would work as well):

IMG_0810

IMG_0808

IMG_0809

You may notice the icons of .sb files – that is @SoftUmeYa's Pyonkee app which might be a better way to use Scratch on an iPad than SqueakJS.

codefrau commented 1 year ago

Cf issue #145 for adding a file import button

GodOfMachinesALT commented 1 year ago

Thanks :) ill try it out

GodOfMachinesALT commented 1 year ago

it says it cant read the file. should i make the file a zip? or do i need to sign into icloud on my ios ipad

GodOfMachinesALT commented 1 year ago

IMG_3417 IMG_3416

codefrau commented 1 year ago

the files i have dragged were projects from the squeak js folder on the scratch online editor. i used the page that lets you download the projects, but it doesn't upload for me :(

What's the page you downloaded the projects from? Giving exact steps how to reproduce an issue is very helpful for others to figure out the problem.

GodOfMachinesALT commented 1 year ago

ill send link, i also gave up on sprite uploads bc it is limited and can't upload unless i duplicate the glitched sprite

GodOfMachinesALT commented 1 year ago

https://squeak.js.org/run/ this is where i got the files

GodOfMachinesALT commented 1 year ago

i saved the projects to the squeak folder, then download the projects from there.

GodOfMachinesALT commented 1 year ago

I cant use appstore to get pyonkee bc im on a school ipad

GodOfMachinesALT commented 1 year ago

i have found a way to save - if i upload a sprite frim the scratch library, i can edit the code and costumes and then export them. Then it lets me upload them without downloading any files :D IMG_3433 (list sorting i made in scratch 1.4) 😀

GodOfMachinesALT commented 1 year ago

I guess it works now! :D