Adding custom colors to the color library

Sometimes, you want a color palette for your game that’s different than the default colors that Hopscotch offers. In that case you have to write down somewhere a list of all the color’s HSB/RGB values you used to keep consistency throughout the whole project, or maybe you can not write it anywhere and have to go back and check in another object every time.

In any case, it can get exhausting pretty quickly, which is why I had the idea of being able to add your own colors to the default list. This would work similarly to functions: there would be a button after the default colors that would say " + Add Color" or something like that. After clicking it you would enter the HSB/RGB values for it and add it to the default selection of colors. This would allow for much quicker and more efficient graphic work, and would encourage people to break from the basic colors a bit more.

Another bonus functionality that could (and probably should) come with this is the option to delete certain colors from the palette. With the ability to add your own colors, it could probably get pretty cluttered in the colors section pretty quick, so with the option to delete colors it would allow for the user to have a lot cleaner of a colors library.

With cluttering in mind, you would probably also need the ability to re-order the library. It wouldn’t be necessary but it would allow to add your more frequently used colors somewhere you can see immediately when you click set color. One foreseeable problem with deleting and reorganizing is the numbers assigned to colors. I think that colors should get a new number based on their position in the library every time the library is reorganized, to avoid having numbers that have no color value connected to them.

Another bonus feature (maybe asking for too much on this one) could be having some preset color palettes (made by the Hopscotch team) you could add when you click Add Color. So like for example, the skin tones could be one of these palettes: the colors wouldn’t appear in the default selection, and when you click Add Color you would see a list of a few different palettes, including the skin tone palette, and you could choose to add the palette to your library, thus adding all 5 of them simultaneously.

Anyways, that’s pretty much it, I think this could be very useful, especially for some advanced coding.

16 Likes

This is absolutely perfect!!!

7 Likes

Very good idea!

I would love to see this in Hopscotch!

7 Likes

very good topic, we’ve been needing this for a while!

7 Likes

@Fundardo I have already suggested this here, but I am glad to see that some people agree. :]

7 Likes

@Awesome_E Merge?

6 Likes

if there’s another topic like this, and fundardo’s okay with it, a merge would be better

personally, I think the topics have the same general idea, but fundardo’s has a lot of different additions, so idk if a split/merge is necessary

5 Likes

what’s the difference between split and merge?

4 Likes

I think splitting is when you remove posts from the topic or move it into another topic. [similar to portal]

5 Likes

@Fundardo, I think this topic is more necessary in #hopscotch-language-evolution, if the topic doesn’t get merged, is it alright if I move it for you?

4 Likes

Whoops, I mean merge.

4 Likes

Sure no problem :ok_hand:, go ahead

4 Likes