Discuss Scratch

KittenDude172
Scratcher
100+ posts

Change Slider Min/Max with scripts

Changing slider Min/Max with scripts can look something like this but in orange

set slider min [Frogs v] to [3]

set slider max [Kittens v] to [12]

Last edited by KittenDude172 (Jan. 17, 2019 01:53:19)


sk7725
Scratcher
32 posts

Change Slider Min/Max with scripts

KittenDude172 wrote:

Changing slider Min/Max with scripts can look something like this but in orange

set slider min [Frogs v] to [3]

set slider max [Kittens v] to [12]

set slider min [Frogs v] to [3] :: variables

set slider max [Kittens v] to [12] :: variables

You mean these?

Creator of *Mochi Run* along with some others, and still Scratching on!

KOI is pretty easy, hope IOI is better…
Now solving all your Scratch 3.0 problems! Comment me here!

달려라 나의 모찌! ><
KittenDude172
Scratcher
100+ posts

Change Slider Min/Max with scripts

sk7725 wrote:

KittenDude172 wrote:

Changing slider Min/Max with scripts can look something like this but in orange

set slider min [Frogs v] to [3]

set slider max [Kittens v] to [12]

set slider min [Frogs v] to [3] :: variables

set slider max [Kittens v] to [12] :: variables

You mean these?

Yeah! didn't know you could do that! thanks!

plit234
Scratcher
91 posts

Change Slider Min/Max with scripts

KittenDude172 wrote:

Changing slider Min/Max with scripts can look something like this but in orange

set slider min [Frogs v] to [3]

set slider max [Kittens v] to [12]

No support,it's only January so Scratch 3 will have slider maximum and minimum soon,you could use Scratch 2 or 1.4 to do that.

Otherwise,you'll have to wait for a-while.

Sadly,my signature disintegrated because of Thanos Cat's snap. Insert endgame spoilers here
KittenDude172
Scratcher
100+ posts

Change Slider Min/Max with scripts

plit234 wrote:

KittenDude172 wrote:

Changing slider Min/Max with scripts can look something like this but in orange

set slider min [Frogs v] to [3]

set slider max [Kittens v] to [12]

No support,it's only January so Scratch 3 will have slider maximum and minimum soon,you could use Scratch 2 or 1.4 to do that.

Otherwise,you'll have to wait for a-while.

@plit234 However, it was never a feature for scratch 2.0, it is for other projects where you want to change slider min/max multiple times in one project.

plit234
Scratcher
91 posts

Change Slider Min/Max with scripts

KittenDude172 wrote:

plit234 wrote:

KittenDude172 wrote:

Changing slider Min/Max with scripts can look something like this but in orange

set slider min [Frogs v] to [3]

set slider max [Kittens v] to [12]

No support,it's only January so Scratch 3 will have slider maximum and minimum soon,you could use Scratch 2 or 1.4 to do that.

Otherwise,you'll have to wait for a-while.

@plit234 However, it was never a feature for scratch 2.0, it is for other projects where you want to change slider min/max multiple times in one project.

It was in the editor,look:



I don't find a use to change it multiple times,just set it to the highest you can go and then the lowest you can go and then use this script:

when green flag clicked
forever
if <(foo) < (max)> then
set [foo v] to [4]
end
if <(foo) > (minimum)> then
set [foo v] to [10]
end
end

Sadly,my signature disintegrated because of Thanos Cat's snap. Insert endgame spoilers here

Powered by DjangoBB

Standard | Mobile