Discuss Scratch

Nintenjoe10
Scratcher
100+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

rollercoasterfan wrote:

Nintenjoe10 wrote:

And how do you get the ACTUAL signature?
Go to discussion forums home, scroll down and click change your signature.
Oh, thanks!
cheezboy18
Scratcher
78 posts

Min/Max Number Input (19 Supporters, want to add to it?)

Great idea! But it should have some way of telling them the min/max, because if not, then it would be kind of disorganized. But great idea!
when green flag clicked
That is such a good idea
I totally agree with it!
play sound [Tell the scratch team about it idk why I'm putting this in a sound block XD v]
Aboot4
Scratcher
100+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Prinseskat wrote:

Hmmm… this sounds great, but a Scratcher may get confused when trying to type in a number and finding it doesn't work, though I'm not sure how much that'd happen. Maybe there should be something somewhere saying what the min and max is? There is also a workaround, I'm pretty sure:
define number (n) min 0 max 5
if <(n) < [0]> then
number (0) min 0 max 5
stop [this script v]
end
if <(n) > [5]> then
number (5) min 0 max 5
stop [this script v]
end
Good point for the confusing thing, but couldn't you then say the same about mix/max for slide variables?
8blazer
Scratcher
53 posts

Min/Max Number Input (19 Supporters, want to add to it?)

It's a good idea. …That is all.
seanbobe
Scratcher
500+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

define  block with (input capped)
if <<(input capped) < [max+1]> and <<(input capped) > [min-1]> >> then
...
end
Aboot4
Scratcher
100+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

seanbobe wrote:

define  block with (input capped)
if <<(input capped) < [max+1]> and <<(input capped) > [min-1]> >> then
...
end
I see.
Hamish752
Scratcher
1000+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Aboot4 wrote:

So, as most Scratchers are aware, you have the ability to set the minimum and max to a slider variable. This was a great feature that really opened up some opportunities for several Scratchers. Well, lately, I've found myself wanting this feature more and more: What if, in CUSTOM BLOCK NUMBER INPUTS, (Not variable sliders), you could set a minimum and max? Let me give an example: In
Do Blah for (Secs ::custom) ::hat custom
there is a number input:
 (Secs ::custom)
right? Well, in my suggestion, I say we should be able to right click
 (Secs ::custom)
and it will say
“Set input min/max”. Well, the Scratcher can click it, and a menu almost identical to the menu that pops up when you set a variable mix/max appears. If I set the minimum to 1, and the max to 5, it wouldn't let you input anything except 1, 2, 3, 4, and 5. If I tried to type 6, it wouldn't work, JUST like it doesn't work when you try to type a letter (Besides e) into a number input on, let's say, the
Move () steps
block. You don't see
Move [lol] steps
anywhere. Anyway, support?? If not, WORKAROUND?!? I'd really appreciate it! Thanks!
Support. Great idea.
nickydroids
Scratcher
100+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

i dont see a way around

Last edited by nickydroids (July 1, 2015 12:57:09)

ElectroElectro2004
Scratcher
100+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Prinseskat wrote:

Hmmm… this sounds great, but a Scratcher may get confused when trying to type in a number and finding it doesn't work, though I'm not sure how much that'd happen. Maybe there should be something somewhere saying what the min and max is? There is also a workaround, I'm pretty sure:
define number (n) min 0 max 5
if <(n) < [0]> then
number (0) min 0 max 5
stop [this script v]
end
if <(n) > [5]> then
number (5) min 0 max 5
stop [this script v]
end
Semisupport.
IronBit_Studios
Scratcher
1000+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Support.
Dragon_Crafters
Scratcher
42 posts

Min/Max Number Input (19 Supporters, want to add to it?)

cool
purplebook163
Scratcher
500+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Support!
Cookie_Remix-Test
Scratcher
1 post

Min/Max Number Input (19 Supporters, want to add to it?)

CL!!!!
Pot-of-Gold
Scratcher
1000+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

uh, i guess semi-support now, everyone else is support
Aboot4
Scratcher
100+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Pot-of-Gold wrote:

uh, i guess semi-support now, everyone else is support
You don't have to change your mind just because everyone else likes it. ^-^
Sigton
Scratcher
1000+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Aboot4 wrote:

Prinseskat wrote:

Hmmm… this sounds great, but a Scratcher may get confused when trying to type in a number and finding it doesn't work, though I'm not sure how much that'd happen. Maybe there should be something somewhere saying what the min and max is? There is also a workaround, I'm pretty sure:
define number (n) min 0 max 5
if <(n) < [0]> then
number (0) min 0 max 5
stop [this script v]
end
if <(n) > [5]> then
number (5) min 0 max 5
stop [this script v]
end
Good point for the confusing thing, but couldn't you then say the same about mix/max for slide variables?
No, you couldn't say the same for slider variables because it shows you the limit (using the slider). But I do support this and it could be very helpful. Making scripts to check if a number is within a certain range is time consuming and an easy fix would be ideal.

Sigton
Aboot4
Scratcher
100+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Sigton wrote:

Aboot4 wrote:

Prinseskat wrote:

Hmmm… this sounds great, but a Scratcher may get confused when trying to type in a number and finding it doesn't work, though I'm not sure how much that'd happen. Maybe there should be something somewhere saying what the min and max is? There is also a workaround, I'm pretty sure:
define number (n) min 0 max 5
if <(n) < [0]> then
number (0) min 0 max 5
stop [this script v]
end
if <(n) > [5]> then
number (5) min 0 max 5
stop [this script v]
end
Good point for the confusing thing, but couldn't you then say the same about mix/max for slide variables?
No, you couldn't say the same for slider variables because it shows you the limit (using the slider). But I do support this and it could be very helpful. Making scripts to check if a number is within a certain range is time consuming and an easy fix would be ideal.

Sigton
Thanks!
IronBit_Studios
Scratcher
1000+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Support.
Blank1234
Scratcher
500+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

i dont get the point
no support

+scratch doesn't have the current architecture to support this

and, couldn't someone just do this
something (join [][111231231231]) :: custom

Last edited by Blank1234 (July 12, 2015 04:21:23)

Aboot4
Scratcher
100+ posts

Min/Max Number Input (19 Supporters, want to add to it?)

Blank1234 wrote:

i dont get the point
no support

+scratch doesn't have the current architecture to support this

and, couldn't someone just do this
something (join [][111231231231]) :: custom
… No? That's not what I'm asking for at all… I really don't think you understand what I'm asking here. xP Try rereading what I'm looking for.

Powered by DjangoBB