make your game code "Locked"

id: 751351

category: Suggestions

posts: 10

So I am working on a game and I have got some of my friends to try it and one of them rather than playing to the end just press “See inside” and gives them self everything and I want people to be able to see but not edit the code unless they remix. and want to know if that is possible or if there is a reason you cant.
PyraEthan12 PyraEthan12 loading
If you press refresh on it, the code resets to how it was before.
but my game saves so they keep everything they gave themselves because they just change variables to 0 on prices and infinite on money
CST1229 CST1229 loading
Maybe rejected under “Disable “See Inside” or restrict sharing”?
Though, if your game uses cloud variables, they get disabled upon opening the editor, so you don't need to worry.

CST1229 wrote:

Maybe rejected under “Disable “See Inside” or restrict sharing”?
Though, if your game uses cloud variables, they get disabled upon opening the editor, so you don't need to worry.
I cant use cloud variables because im new and the “disable see inside” was to stop people having the option i want people to be able to see and copy the code but not edit it without remixing
others can't change your game's code– if you are not the project creator, changing the blocks will not be saved anywhere unless you remix

i_eat_coffee wrote:

others can't change your game's code– if you are not the project creator, changing the blocks will not be saved anywhere unless you remix
But people can still cheat without saving it.
italvera italvera loading
Rejected?
4.1 Disable “See Inside” or restrict sharing
Some users want an option to prevent Scratchers from looking inside their project and using their artwork, scripts, or sounds. However, the core ideas of Scratch are "Imagine, Program, Share.“ By sharing a project on the Scratch website, you are allowing others to see the code and potentially remix or reuse the data inside, as long as they give credit. That being said, please use the Report button on any project that uses content from another Scratcher without giving credit to them. If you do not want other users to see inside your project, then do not share your project on the Scratch website.

Elijah999999 wrote:

i_eat_coffee wrote:

others can't change your game's code– if you are not the project creator, changing the blocks will not be saved anywhere unless you remix
But people can still cheat without saving it.
yeah, and they can also cheat when remixing
what is your point?
han614698 han614698 loading
I don't think the Scratch Team is going to add this, and it may be rejected under similar grounds to the one linked above.

It's a fundamental part of the Scratch website that users can look inside a project and experiment with different things and see what they do in order to learn how to code.

No “real” cheating would happen here since it's all local. If you're worried about a user getting a certain save code or something, they could already remix the project and do this - this really wouldn't do anything other then make it more annoying for users to experiment with code.