Discuss Scratch

XxMarcos_
Scratcher
100+ posts

How do I manipulate JSON?

I nedd this for blocks like: “when enter pressed” or “when shift pressed”.

Its for an game that you can run with shift.
RadiusGames46
Scratcher
100+ posts

How do I manipulate JSON?

In the current state of Scratch (3.0), manipulating project .json files is currently impossible.

In the meantime, there are some people who have managed to get some custom key booleans, so you could borrow those.

If you really want to learn how to edit .json files of projects, I reccomend you download the Scratch 2.0 offline editor (that's the only version where you can edit project .jsons) and follow this tutorial on the Scratch Wiki.

Also, I'm reporting this to be moved to Questions about Scratch.
XxMarcos_
Scratcher
100+ posts

How do I manipulate JSON?

RadiusGames46 wrote:

In the current state of Scratch (3.0), manipulating project .json files is currently impossible.

In the meantime, there are some people who have managed to get some custom key booleans, so you could borrow those.

If you really want to learn how to edit .json files of projects, I reccomend you download the Scratch 2.0 offline editor (that's the only version where you can edit project .jsons) and follow this tutorial on the Scratch Wiki.

Also, I'm reporting this to be moved to Questions about Scratch.
Ok, thanks!
LittleGreyCells
Scratch Team
1000+ posts

How do I manipulate JSON?

Moving over to Questions About Scratch for you
CST1229
Scratcher
1000+ posts

How do I manipulate JSON?

RadiusGames46 wrote:

In the current state of Scratch (3.0), manipulating project .json files is currently impossible.
It is possible, I don't know where you got that from.

The Shift key can't be detected in Scratch (even with JSON modification; the project player literally ignores that key). The Enter key can, and can even be done in the normal editor using something like a join block.

Last edited by CST1229 (March 5, 2023 16:50:33)

Powered by DjangoBB