Discuss Scratch

_tenfictions_
Scratcher
100+ posts

New Variable Display Type: Progress Bar

support so i don't have to make a sprite with 50-100 costumes
PATSATDAT
Scratcher
1000+ posts

New Variable Display Type: Progress Bar

I got an idea from this (post in a duplicate of this topic) and fixed the bug here
badilreal
Scratcher
100+ posts

New Variable Display Type: Progress Bar

PATSATDAT wrote:

I got an idea from this (post in a duplicate of this topic) and fixed the bug here
why does it go to the middle at infinity
PATSATDAT
Scratcher
1000+ posts

New Variable Display Type: Progress Bar

badilreal wrote:

PATSATDAT wrote:

I got an idea from this (post in a duplicate of this topic) and fixed the bug here
why does it go to the middle at infinity
probably a bug with scratch
Edit: I was right. a string goes to the middle slider and since infinity is also technically a number it will be infinity forever so it won't update. link to test

Last edited by PATSATDAT (June 6, 2021 11:10:11)

mumu245
Scratcher
1000+ posts

New Variable Display Type: Progress Bar

Support.
Block Ideas:
([bar v] value ::#FC5555) // new bar category

set [bar v] value to (50) ::#FC5555

set [bar v] value to (50) % ::#FC5555

change [bar v] value by (1) ::#FC5555

change [bar v] value by (1) % ::#FC5555

when [bar v] goes [below v] (50) % ::hat #FC5555

set [bar v] maximum to (100) ::#FC5555

set [bar v] color to [#0000FF] ::#FC5555

set [bar v] display style to [bar and value v] ::#FC5555 // bar only, bar and value

show [bar v] ::#FC5555

hide [bar v] ::#FC5555
DarthVader4Life
Scratcher
1000+ posts

New Variable Display Type: Progress Bar

Would this bar have a rounded edge or a flat edge?
hiPeeps124816
Scratcher
500+ posts

New Variable Display Type: Progress Bar

Support. Here are some blocks I thought of:
set bar [color v] to [#00FF00] :: variables
set bar [color v] to (50) :: variables //and saturation, etc.
change bar [color v] by (50) :: variables
set bar [thickness v] to (5) :: variables
change bar [thickness v] by (1) :: variables
set background [color v] to [#888888] :: variables
set background [color v] to (50) :: variables //and saturation, etc.
change background [color v] by (50) :: variables
fdreerf
Scratcher
1000+ posts

New Variable Display Type: Progress Bar

hiPeeps124816 wrote:

Support. Here are some blocks I thought of:
set bar [color v] to [#00FF00] :: variables
set bar [color v] to (50) :: variables //and saturation, etc.
change bar [color v] by (50) :: variables
set bar [thickness v] to (5) :: variables
change bar [thickness v] by (1) :: variables
set background [color v] to [#888888] :: variables
set background [color v] to (50) :: variables //and saturation, etc.
change background [color v] by (50) :: variables
Those have a lot of similarities with pen blocks, and it's not exactly hard to make your own progress bar with pen, and with much more customization as well. All you need to do is create a line with a length depending on the value of a variable.
Maximouse
Scratcher
1000+ posts

New Variable Display Type: Progress Bar

This might be a good idea, but only if it doesn't introduce any new blocks.

Powered by DjangoBB