Discuss Scratch

Majood_500
Scratcher
100+ posts

How to better format your topic!

We want to connect 30 followers in order to continue
Dinosaurguy77
Scratcher
500+ posts

How to better format your topic!

Ok
thenumberblocks2013
Scratcher
83 posts

How to better format your topic!

when green flag clicked
if <> then {

} else {

} repeat until <> {

} then {

} after {

} :: control
Dinosaurguy77
Scratcher
500+ posts

How to better format your topic!

Block scratch should add: An If then repeat block.
kittyqueen5566
Scratcher
100+ posts

How to better format your topic!

medians
Scratcher
1000+ posts

How to better format your topic!

Dinosaurguy77 wrote:

Block scratch should add: An If then repeat block.
Well, how would that be different from the repeat until block?
Also, go to the Suggestions forum for that.
Dinosaurguy77
Scratcher
500+ posts

How to better format your topic!

medians wrote:

Dinosaurguy77 wrote:

Block scratch should add: An If then repeat block.
Well, how would that be different from the repeat until block?
Also, go to the Suggestions forum for that.

It would only do it if something. plus we won't waste blocks.
kittyqueen5566
Scratcher
100+ posts

How to better format your topic!


funni
Dinosaurguy77
Scratcher
500+ posts

How to better format your topic!

yeah
1-_-1_GOD
Scratcher
14 posts

How to better format your topic!

That is super helpful. Thanks!
Shadowhether
Scratcher
5 posts

How to better format your topic!

when green flag clicked

no context

Last edited by Shadowhether (May 15, 2023 20:44:56)

kittyqueen5566
Scratcher
100+ posts

How to better format your topic!

1-_-1_GOD wrote:

That is super helpful. Thanks!
everyone is posting memes at this point
medians
Scratcher
1000+ posts

How to better format your topic!

Dinosaurguy77 wrote:

medians wrote:

Dinosaurguy77 wrote:

Block scratch should add: An If then repeat block.
Well, how would that be different from the repeat until block?
Also, go to the Suggestions forum for that.

It would only do it if something. plus we won't waste blocks.
The repeat until block does that then, unless I’m misunderstanding what you’re saying.
Dinosaurguy77
Scratcher
500+ posts

How to better format your topic!

medians wrote:

Dinosaurguy77 wrote:

medians wrote:

Dinosaurguy77 wrote:

Block scratch should add: An If then repeat block.
Well, how would that be different from the repeat until block?
Also, go to the Suggestions forum for that.

It would only do it if something. plus we won't waste blocks.
The repeat until block does that then, unless I’m misunderstanding what you’re saying.
Well I guess what I mean is that if let's say HP=2 then repeat until not HP=2.


if <(HP) = [2]> then repeat until <not <(HP) = [2]>>
move (3) steps
end

Last edited by Dinosaurguy77 (May 16, 2023 09:48:14)

_quantumbreaker_
Scratcher
21 posts

How to better format your topic!

So something like this?
when I receive [ v]
delete ((item (10) of [list variables] :: list) variable) of [list 1]
medians
Scratcher
1000+ posts

How to better format your topic!

Dinosaurguy77 wrote:

Well I guess what I mean is that if let's say HP=2 then repeat until not HP=2.


if <(HP) = [2]> then repeat until <not <(HP) = [2]>>
move (3) steps
end
So just repeat until not HP = 2, since it translates to:
if <(HP) = [2]> then
repeat until <not <(HP) = [2]>>
move (3) steps
end
end
However, it functions exactly the same as if the repeat until wasn't in any if statement because repeat until <not (HP) = [2]> wouldn't run at all if the HP wasn't 2 beforehand.

Last edited by medians (May 27, 2023 04:24:11)

minecraftsteve0115
Scratcher
100+ posts

How to better format your topic!

guys im curious. How do i change the color of my text?
kittyqueen5566
Scratcher
100+ posts

How to better format your topic!

huh
Dinosaurguy77
Scratcher
500+ posts

How to better format your topic!

medians wrote:

Dinosaurguy77 wrote:

Well I guess what I mean is that if let's say HP=2 then repeat until not HP=2.


if <(HP) = [2]> then repeat until <not <(HP) = [2]>>
move (3) steps
end
So just repeat until not HP = 2, since it translates to:
if <(HP) = [2]> then
repeat until <not <(HP) = [2]>>
move (3) steps
end
end
However, it functions exactly the same as if the repeat until wasn't in any if statement because repeat until <not (HP) = [2]> wouldn't run at all if the HP wasn't 2 beforehand.

i would save time

I mean it would save time

Last edited by Dinosaurguy77 (June 8, 2023 09:33:25)

medians
Scratcher
1000+ posts

How to better format your topic!

Dinosaurguy77 wrote:

i would save time

I mean it would save time
If this was implemented though, would there be blocks like this?
if <> move () steps ::motion
Just because it would save time?

Powered by DjangoBB