Discuss Scratch

Rivera_la_grande123
Scratcher
11 posts

Variables (Part1)

Here's how to use variables (Part1)
when green flag clicked
set [(yourvariable)] to [1]
forever
if <key [r] pressed?> then
set [(yourvariable)] to [2]
end
if <(yourvariable) = [2]> then
move (10) steps
end
end

This is just an exapmle on how to use them in the if section you can put everything you want

Last edited by Rivera_la_grande123 (Dec. 4, 2020 09:10:56)

Rivera_la_grande123
Scratcher
11 posts

Variables (Part1)

Please write other variable ideas if you have
Rivera_la_grande123
Scratcher
11 posts

Variables (Part1)

How to make an Highscore (without cloud variables)
when green flag clicked
forever
if <(score) > (highscore)> then
set [score] to (highscore)
end
end


If you are just scratcher and not new you can change the
(highscore)
to
(☁ highscore)

Last edited by Rivera_la_grande123 (Dec. 4, 2020 09:16:22)

joshuaho
Scratcher
1000+ posts

Variables (Part1)

It's great you want to help out with a guide! However, there's already a lot of guides, and not really a good way to showcase them all.

Helpful users are always welcome (and appreciated) in the "Help with Scripts“ and ”Questions about Scratch" sections, though. There are always folks who could use the assistance of helpful scratchers like you to get their questions answered.

Finally, a really good place for Scratch guides is the Scratch Wiki. I would highly suggest checking it out and see if it's something you'd be interested in. They have a good number of articles and guides - and could definitely use the help of more contributors for improving them!
Slidesow9
Scratcher
4 posts

Variables (Part1)

say [Thanks!]
Paddle2See
Scratch Team
1000+ posts

Variables (Part1)

Hello! It's great that you want to help out other Scratchers. However, I think we have enough guides in the forums at the moment. Please feel free to welcome new Scratchers on the group welcoming topic or on individual topics created by New Scratchers.

Other places that can always use more helpful Scratchers like you, are the "Help With Scripts“ and ”Questions About Scratch" areas

Finally, a really good place for Scratch guides is the Scratch Wiki - check it out and see if it's something you might like to work on. They have a number of guides - and great organization.

Powered by DjangoBB