How I make my smooth gradient BGs

Nice tutorial, well written!

3 Likes

Thank you for this amazing strategy!

I will give you credit as I will use this in my project - most likely

1 Like

Love this tutorial, but you could make it a lot faster. Here’s an instant one:



(The second image is the rest of the draw block)


Of course, you could change the H value to make it any colour.

5 Likes

Slow method, and many people have done this, I’d suggest using my Smooth BG Generator


Exception: Put the set variables in a 7=7 rule

5 Likes

I use that, but instead of the repeat I use clones, and then I can make gradients with any two colours instantly.

2 Likes

Me too, but this is for people who don’t know clones as well

3 Likes

Yeah, same. It’s much quicker.

1 Like

Nice tutorial mate!
Instead of having repeat forever, you could use
When total clones<257
I’m pretty sure that’s the number you would need.

2 Likes

Great tutorial! :smile:

Hopscotch has some hidden blocks in the game code which some people found, one of which is a ‘Create a Clone Times’ block which creates clones instantly. I tend to use this as, well, it’s instant.

Recently, I learned a better way to do it that’s super fast.

First, I create 30 clones,
Next, I add the code below:

I’ll explain it all better in 2019-04-18T04:00:00Z's quick coding advice at the Coding Café.

(Link will be posted here when the post comes out)

I wish I knew how to make faster gradients back when I made some of my older projects. Great tutorial!

1 Like

Thanks for the support and cc! I learned how to make my gradients faster thanks to you all.

2 Likes

Should I make more tutorials?

Yes you should they are better than turtles they are so good

2 Likes

Hello! We are curating and compiling tutorials from the forum into articles on the official Hopscotch docs. We’d love to use your tutorial, which will appear under your name on Help docs. Whatcha think about it?

3 Likes

Sure! I’m fine with it.

1 Like

Cool