Discuss Scratch

Levithehedgehog3
Scratcher
41 posts

meter variables

you know the slider type of variable? make a version that cant be edited! which would be used for meters and such. like loading screens and how much power you have left or something
han614698
Scratcher
1000+ posts

meter variables

Support. This would really help health bars. However, the workaround. [DUN, DUN, DUNNNN]

The project can automatically set the variable back to health:

Basically:

when green flag clicked
forever
set [sliding variable v] to [num]
end

You can't change the variable.
Levithehedgehog3
Scratcher
41 posts

meter variables

han614698 wrote:

Support. This would really help health bars. However, the workaround. [DUN, DUN, DUNNNN]

The project can automatically set the variable back to health:

Basically:

when green flag clicked
forever
set [sliding variable v] to [num]
end

You can't change the variable.

i've tried that. but i messed with the slider and the variable changed!

Last edited by Levithehedgehog3 (June 5, 2021 16:59:56)

han614698
Scratcher
1000+ posts

meter variables

Levithehedgehog3 wrote:

han614698 wrote:

Support. This would really help health bars. However, the workaround. [DUN, DUN, DUNNNN]

The project can automatically set the variable back to health:

Basically:

when green flag clicked
forever
set [sliding variable v] to [num]
end

You can't change the variable.

i've tried that. but i messed with the slider and the variable changed!
Hmm. Glitch or intentional?

thisandagain plz explain

Last edited by han614698 (June 5, 2021 17:01:55)

D-ScratchNinja
Scratcher
1000+ posts

meter variables

I believe this could even be used enough that they might add it, even though there are workarounds.
fdreerf
Scratcher
1000+ posts

meter variables

han614698 wrote:

You can't change the variable.
You can use two variables, one that actually reports the value, and the display variable, which shows up as a slider. This is inefficient since it uses two variables, but it works.
GAMER_6O7
Scratcher
100+ posts

meter variables

This looks like a dupe of this

Powered by DjangoBB