Discuss Scratch

engariansilly
Scratcher
41 posts

new blocks? please? [run multiple blocks simultaneously]

i really wish there were new blocks… but i think they may ruin scratch. and i hope i make this discussion in the right category, sorry. one of the blocks i would like, is a block that you can put multiple blocks inside, so it all happens at once.

Last edited by Paddle2See (March 2, 2017 13:24:21)

duckboycool
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

What are these new blocks?
engariansilly
Scratcher
41 posts

new blocks? please? [run multiple blocks simultaneously]

duckboycool wrote:

What are these new blocks?
im not sure what you mean, sorry.
duckboycool
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

I wish there were new blocks, but what new blocks. We can't judge your suggestion without a suggestion.
engariansilly
Scratcher
41 posts

new blocks? please? [run multiple blocks simultaneously]

duckboycool wrote:

I wish there were new blocks, but what new blocks. We can't judge your suggestion without a suggestion.
like a block that you can have two blocks in, like
get it?
engariansilly
Scratcher
41 posts

new blocks? please? [run multiple blocks simultaneously]

duckboycool wrote:

I wish there were new blocks, but what new blocks. We can't judge your suggestion without a suggestion.
oh sorry, the symbols didnt work… i can illustrate it…
duckboycool
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

What would the block do?

We have join for connecting two strings.

Could you explain?
jromagnoli
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

duckboycool wrote:

What would the block do?

We have join for connecting two strings.

Could you explain?
Maybe they're suggesting a block similar to custom blocks? I think they want to join multiple blocks in one block.
engariansilly
Scratcher
41 posts

new blocks? please? [run multiple blocks simultaneously]

jromagnoli wrote:

duckboycool wrote:

What would the block do?

We have join for connecting two strings.

Could you explain?
Maybe they're suggesting a block similar to custom blocks? I think they want to join multiple blocks in one block.
exactly, a block that has one space on one side for a block to go inside, and another on the other side, so when the code gets to that block, it will do both blocks at the same moment.


duckboycool
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

You can use custom block's “Run without screen refresh” feature for two or more blocks to run pretty much at once.
engariansilly
Scratcher
41 posts

new blocks? please? [run multiple blocks simultaneously]

duckboycool wrote:

You can use custom block's “Run without screen refresh” feature for two or more blocks to run pretty much at once.
okay, thanks. scratchers are really nice and helpful. it makes me happy to see that.
awesome5185
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

Well, I think he/she means this:

Run simultaneously {
next costume
move (10) steps
} :: control

But I think this will also be useful:

Run simultaneously (5) times at a (1) second interval {
next costume
move (10) steps
} :: control
As if there is a wait block in there, it'd run at the same time as the other blocks voiding the block. However, I don't see if scripts working well in this suggested block.

Last edited by awesome5185 (Feb. 28, 2017 04:15:45)

engariansilly
Scratcher
41 posts

new blocks? please? [run multiple blocks simultaneously]

awesome5185 wrote:

Well, I think he/she means this:

Run simultaneously {
next costume
move (10) steps
} :: control

But I think this will also be useful:

Run simultaneously (5) times at a (1) second interval {
next costume
move (10) steps
} :: control
YES EXACTLY WHAT I MEANT!
awesome5185
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

engariansilly wrote:

awesome5185 wrote:

Well, I think he/she means this:

Run simultaneously {
next costume
move (10) steps
} :: control

But I think this will also be useful:

Run simultaneously (5) times at a (1) second interval {
next costume
move (10) steps
} :: control
YES EXACTLY WHAT I MEANT!

your welcome

Last edited by awesome5185 (Feb. 28, 2017 04:16:29)

jji10
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

engariansilly wrote:

awesome5185 wrote:

Well, I think he/she means this:

Run simultaneously {
next costume
move (10) steps
} :: control

But I think this will also be useful:

Run simultaneously (5) times at a (1) second interval {
next costume
move (10) steps
} :: control
YES EXACTLY WHAT I MEANT!
If you put them in separate scripts, I'm pretty sure they run at the same time.
awesome5185
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

jji10 wrote:

engariansilly wrote:

awesome5185 wrote:

Well, I think he/she means this:

Run simultaneously {
next costume
move (10) steps
} :: control

But I think this will also be useful:

Run simultaneously (5) times at a (1) second interval {
next costume
move (10) steps
} :: control
YES EXACTLY WHAT I MEANT!
If you put them in separate scripts, I'm pretty sure they run at the same time.
This would be move convienent and will save script space.
jromagnoli
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

awesome5185 wrote:

jji10 wrote:

engariansilly wrote:

awesome5185 wrote:

Well, I think he/she means this:

Run simultaneously {
next costume
move (10) steps
} :: control

But I think this will also be useful:

Run simultaneously (5) times at a (1) second interval {
next costume
move (10) steps
} :: control
YES EXACTLY WHAT I MEANT!
If you put them in separate scripts, I'm pretty sure they run at the same time.
This would be move convienent and will save script space.
Just use custom blocks with “run without screen refresh”.
duckboycool
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

define run simultaneously (amount) times at a (seconds) second interval
repeat (amount)
...
wait (seconds) secs
end
Just make sure it is set to run with no screen refresh.

You could also store multiple scripts per a custom block like;
define run (script) simultaneously (amount) times at a (seconds) second interval
if <(script) = [Change color]> then
repeat (amount)
change [color v] effect by (25)
wait (seconds) secs
end
end
if <(script) = [Move and change size]> then
repeat (amount)
change x by (5)
change size by (1)
wait (seconds) secs
end
end
if <(script) = [Move and change costume]> then
repeat (amount)
change x by (5)
next costume
wait (seconds) secs
end
end
...

Last edited by duckboycool (Feb. 28, 2017 14:40:26)

Griffenlover
Scratcher
100 posts

new blocks? please? [run multiple blocks simultaneously]

duckboycool wrote:

define run simultaneously (amount) times at a (seconds) second interval
repeat (amount)
...
wait (seconds) secs
end
Just make sure it is set to run with no screen refresh.

You could also store multiple scripts per a custom block like;
define run (script) simultaneously (amount) times at a (seconds) second interval
if <(script) = [Change color]> then
repeat (amount)
change [color v] effect by (25)
wait (seconds) secs
end
end
if <(script) = [Move and change size]> then
repeat (amount)
change x by (5)
change size by (1)
wait (seconds) secs
end
end
if <(script) = [Move and change costume]> then
repeat (amount)
change x by (5)
next costume
wait (seconds) secs
end
end
...
that seems kinda complex
duckboycool
Scratcher
1000+ posts

new blocks? please? [run multiple blocks simultaneously]

It just a repeat and wait block, then the blocks you already had that should run at once.

Powered by DjangoBB