a feature I’d like to see in hopscotch is:
a type of variable that saves color values instead of numbers or strings
i’d someone else could use it for this type of project:
when making an art pad or color gradient, there are too many moving pieces, like 3 variables for hsb, one for width, increases, having 3 values to be constantly setting at once. i’m sure it’s still a pain to do. wouldn’t it be great if there was just a single variable that could just remember the whole color??
here are some examples of hopscotch code that could be improved if we had this:
here is an excerpt from my infamous art pad:
when game starts:
set color: hsb[275, 35, 100]
when self is tapped:
repeat times [1]:
set [hue] to: 275
set [saturation] to: 35
set [brightness] to: 100
and here’s what it could be:
when game starts:
set color: hsb[275, 35, 100]
when self is tapped:
set [color] to: hsb[275, 35, 100]
here is an example design i’ve made:
literally just variable blocks but the box accepts colors
i’m sure some modifications might be necessary that i didn’t think of, but this is the idea
i’ve seen something similar in another programming languages, it looks like this:
i have not jk that’s not true, get pranked
the hs colors have loopover values, so purple = 1, blue = 2, etc, and it loops over! [i don’t remember exactly what it is] so variable blocks can accept these, but it’s not really as complete as i’d like
[hs is a coding language, is it not??]