Repeat Until / Wait Until block request

Hello guys, I have decided on a new block. There is when (variable) = 0
But I put this to make more specific. Forgive me with any mistakes.
So there are two objects. Wait until variable. (Bit of @RonAstern123’s idea) and repeat until variable. Here is an example.


Wait until ( ) *= ( ) means something waits until a certain variable becomes a certain amount before it does something.

Repeat until ( ) *= ( ) means an action repeats until a certain object becomes a certain amount before it stops.

(*) is =, >, <, =>, =<, or, or and.

If someone had an idea like this, pls tag me and send link

7 Likes

Great idea!

Here is a concept:

4 Likes

Thanks

3 Likes

This sounds epic.

1 Like

There is a method for doing this but it would be much better if it was a block on its own

1 Like

This is an awesome idea, I would love this!

1 Like

I know there is a method, but I made it more specific

2 Likes

Yep, and you meant for it to repeat until a conditional is true, right? Cause that’s definitely what it seems like.

1 Like

I like that, there just needs to be a slot like normal repeat blockx

1 Like

I’ve used this in Scratch a few times, it would be really useful if it was on Hopscotch as well.

1 Like

Oh yeah haha. I was thinking wait until for a moment

3 Likes

Ahaha. Everyone makes mistakes so often. @Ana, how do you think about this

3 Likes


https://forum.gethopscotch.com/t/repeat-until-block/35513?u=nobody

1 Like

@leaders merge the existing topic with the one Nobody mentioned in the last post? Or perhaps clive?

3 Likes

Nvm

3 Likes

Wow noice :)

I think theres already a way to do that

When (var) = (num):
(Coding stuff)
Set var = (any num rather than something)

But i think the wait until block is much much better :clap:

1 Like

A feature I’d like to see in Hopscotch is: a repeat until block

I’d use it for this type of project: loading screen (mostly)

Here are some examples of Hopscotch code that could be improved if we had this: A lot of loading screens could be perfected, because it would tell when to stop loading, this would be especially helpful if you had a loading bar included.

Here is an example design I’ve made:

I’ve seen something similar in another programming languages, it looks like this: I haven’t seen anything similar in other programming languages.

5 Likes

ton topics like this, but nice idea

3 Likes

Yes which means we really need it lol

2 Likes