Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix writing Scratch projects #146

Closed
BwenedianJr opened this issue May 19, 2023 · 12 comments
Closed

Fix writing Scratch projects #146

BwenedianJr opened this issue May 19, 2023 · 12 comments

Comments

@BwenedianJr
Copy link

Hi, scratch 1,4 isn’t reading the project files.
I think this has to do with the fact scratch 1.4 was written in a different version of squeak, so it glitches. Also, can you make it so on mobile devices the cursor is hidden? I find the cursor distracting and it makes it hard to click.

@codefrau
Copy link
Owner

Hi, scratch 1,4 isn’t reading the project files.

Which project files specifically? "json" as per your title is not a Scratch project.

I think this has to do with the fact scratch 1.4 was written in a different version of squeak, so it glitches.

What makes you think this is a different version of Squeak? This is literally running the official Scratch 1.4 image.

Also, can you make it so on mobile devices the cursor is hidden? I find the cursor distracting and it makes it hard to click.

Someone could make that happen, certainly. It might be better to separate feature requests from bug reports though. And then find a volunteer to do it.

@BwenedianJr
Copy link
Author

It says the file might be damaged
Even if I download the file from squeak.jr.org/run it gets corrupted

@BwenedianJr
Copy link
Author

IMG_3590
IMG_3591
IMG_3592
IMG_3593
IMG_3594

@codefrau
Copy link
Owner

Hmm, not sure what's wrong. It can load the example projects fine (when you click the Examples folder button) but it cannot load a project I saved ... it is not specific to iPad but happens on desktop too.

Might be a similar issue as in #144 (you could try Pyonkee as suggested there)

I personally do not have time to investigate this any time soon, unfortunately. If you are a Squeak programmer, or you know one, shift-click the loop in the R of the SCRATCH logo to access the Squeak tools and start debugging.

@BwenedianJr
Copy link
Author

Could you add this Pyonkee image file I found to squeak? https://github.com/SoftUmeYa/Pyonkee/raw/master/Scratch.image

@codefrau
Copy link
Owner

You can run it directly by executing it via this URL
https://squeak.js.org/run/#image=https://github.com/SoftUmeYa/Pyonkee/raw/master/Scratch.image

It starts to load, but I'd be surprised if it worked well because it likely depends on the Pyonkee environment.

What are you trying to do?

@BwenedianJr
Copy link
Author

Can you add this to one of the featured images?
https://squeak.js.org/run/#image=https://github.com/NoMod-Programming/Whiskers/raw/master/Build/Whiskers.image
The link doesn’t let me add to Home Screen like scratch 1.4.

@BwenedianJr
Copy link
Author

I found the saving issue! All you need to do is delete the sounds and it saves!

@BwenedianJr
Copy link
Author

By the way, that’s my main account. I forgot I made a issue here!

@codefrau
Copy link
Owner

I fixed a file writing bug in release 1.1.0 that might fix the sound writing issue.

@codefrau codefrau changed the title Error reading json in scratch Fix writing Scratch projects Oct 24, 2023
@codefrau
Copy link
Owner

Yep, confirmed this works now.

@BwenedianJr
Copy link
Author

BwenedianJr commented Nov 4, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants