Discuss Scratch

makethebrainhappy
Scratcher
1000+ posts

Tutorial- Non-Cloud Data

Hello! Today I'm here to talk about Non-Cloud Data! I've made this tutorial to show you the full potential of a data block!

Most people know the typical use's for the data block- local high scores and stuff with math equations… Maybe the first is more
Well known, well below I will list some more uses and explain the previous one's.

High-Scores
These High Scores are local and don't save. It's usually that when something happens (you do something) your score increases usually using this data block.
change [ x] by (1)

Math Equations
You put a number in and something comes out. It can be complicated or simple. Some examples
((X) + (2))

Pen Color Changing
>>>Create Variable Y and show it
>>>Right Click Variable Y on the Scratch Screen and set It to slider. Right Click again and set the min/max (doesn't matter what it is, just have at least a 10 number difference)
>>>Add this script
when green flag clicked
forever
set pen color to (Y)
end
This can be helpful when creating a small paint app.

Volume Changing
This could be located in the settings of your game, in case you have volume.
>>>Name Variable Z and show it
>>>Right Click it and set it to a sliding variable. Right-Click it again and set the min and max at 0 and 100 !!!
>>>Then insert this script
when green flag clicked
forever

set volume to (Z) %
end
This can be applied into anything with music

Last edited by makethebrainhappy (July 13, 2015 23:27:43)

CreeperGaming122
Scratcher
23 posts

Tutorial- Non-Cloud Data

move () variable
Variable
Sigton
Scratcher
1000+ posts

Tutorial- Non-Cloud Data

For the pen thing, you don't want:
when gf clicked
forever
change pen size by (Y)
end

Instead it should be:

when gf clicked
forever
set pen size to (Y)
end
You want to set the pen relative to 0, rather than relative to it's current value.

Sigton


makethebrainhappy
Scratcher
1000+ posts

Tutorial- Non-Cloud Data

Sigton wrote:

For the pen thing, you don't want:
when gf clicked
forever
change pen size by (Y)
end

Instead it should be:

when gf clicked
forever
set pen size to (Y)
end
You want to set the pen relative to 0, rather than relative to it's current value.

Sigton

Ok Thanks . I should probably change that XD
AndrewBerezaafan
Scratcher
100+ posts

Tutorial- Non-Cloud Data

Yeah, i know how to do this already but here is some advice.

Create a short animation of it on a game to show you how to use it properly.

Are YOU a good animator? if so I NEED YOU NOW!!!! Come apply here to join the compition!!

Follow me! I appreciate any-one that follows me!
Also check out my projects, leave a like and a fav :D
when green flag clicked
if <(signature) = [Done]> then
set [signature v] to [Done]
say [Bye!]
end
makethebrainhappy
Scratcher
1000+ posts

Tutorial- Non-Cloud Data

AndrewBerezaafan wrote:

Yeah, i know how to do this already but here is some advice.

Create a short animation of it on a game to show you how to use it properly.

Are YOU a good animator? if so I NEED YOU NOW!!!! Come apply here to join the compition!!

How sneaky the advertisement is xD

Powered by DjangoBB

Standard | Mobile