Discuss Scratch

AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
Camo-Dude
Scratcher
500+ posts

Help with 'More Blocks'

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

Camo-Dude wrote:

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
I just want to know how to use them in general
Camo-Dude
Scratcher
500+ posts

Help with 'More Blocks'

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
I just want to know how to use them in general
i can help but it would be easier showing you in a project so i can make an example one if you want
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
I just want to know how to use them in general
i can help but it would be easier showing you in a project so i can make an example one if you want
Oh, OK. I mainly want to make a text engine (where it says something in a certain way) so could you help me with that?
Camo-Dude
Scratcher
500+ posts

Help with 'More Blocks'

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
I just want to know how to use them in general
i can help but it would be easier showing you in a project so i can make an example one if you want
Oh, OK. I mainly want to make a text engine (where it says something in a certain way) so could you help me with that?
Yes i can try
when you say says something in a certain way what is the way you want it to say it?
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
I just want to know how to use them in general
i can help but it would be easier showing you in a project so i can make an example one if you want
Oh, OK. I mainly want to make a text engine (where it says something in a certain way) so could you help me with that?
Yes i can try
when you say says something in a certain way what is the way you want it to say it?
Kind of in an Undertale style (if you have heard of that game)
Camo-Dude
Scratcher
500+ posts

Help with 'More Blocks'

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
I just want to know how to use them in general
i can help but it would be easier showing you in a project so i can make an example one if you want
Oh, OK. I mainly want to make a text engine (where it says something in a certain way) so could you help me with that?
Yes i can try
when you say says something in a certain way what is the way you want it to say it?
Kind of in an Undertale style (if you have heard of that game)
i have heard of it and think i know what you are talking about (Since ive never played it) i will see what i can do
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
I just want to know how to use them in general
i can help but it would be easier showing you in a project so i can make an example one if you want
Oh, OK. I mainly want to make a text engine (where it says something in a certain way) so could you help me with that?
Yes i can try
when you say says something in a certain way what is the way you want it to say it?
Kind of in an Undertale style (if you have heard of that game)
i have heard of it and think i know what you are talking about (Since ive never played it) i will see what i can do
Oh, OK. I mean so the words appear 1 letter at a time and plays a sound. I have made a script that does this, but I want to put it in a custom block for space and ease ;D
Camo-Dude
Scratcher
500+ posts

Help with 'More Blocks'

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
I just want to know how to use them in general
i can help but it would be easier showing you in a project so i can make an example one if you want
Oh, OK. I mainly want to make a text engine (where it says something in a certain way) so could you help me with that?
Yes i can try
when you say says something in a certain way what is the way you want it to say it?
Kind of in an Undertale style (if you have heard of that game)
i have heard of it and think i know what you are talking about (Since ive never played it) i will see what i can do
Oh, OK. I mean so the words appear 1 letter at a time and plays a sound. I have made a script that does this, but I want to put it in a custom block for space and ease ;D
ok i think i can do that and will work on it
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

So, I need help with making my own blocks, and i'm not very good. Could somebody help me?
All I can do is use it as a broadcast/detect something
i can try to help i just need to know what you want done
I just want to know how to use them in general
i can help but it would be easier showing you in a project so i can make an example one if you want
Oh, OK. I mainly want to make a text engine (where it says something in a certain way) so could you help me with that?
Yes i can try
when you say says something in a certain way what is the way you want it to say it?
Kind of in an Undertale style (if you have heard of that game)
i have heard of it and think i know what you are talking about (Since ive never played it) i will see what i can do
Oh, OK. I mean so the words appear 1 letter at a time and plays a sound. I have made a script that does this, but I want to put it in a custom block for space and ease ;D
ok i think i can do that and will work on it
Let me know when your done!
deck26
Scratcher
1000+ posts

Help with 'More Blocks'

Simple example. Say, for some reason you wanted to calculate the difference between the biggest and smallest of a set of three numbers.

define range (v1) (v2) (v3)
set [max v] to (v1)
set [min v] to (v1)
if < (v2) > (max)>
set [max v] to (v2)
end
if < (v3) > (max)>
set [max v] to (v3)
end
if < (v2) < (min)>
set [min v] to (v2)
end
if < (v3) < (min)>
set [min v] to (v3)
end
set [result v] to ((max) - (min))


range (a) (b) (c)
range (x) (y) (z)
The last two blocks are examples of using the custom block. In each case the result variable would contain the answer so you want to use it in some way before calling the custom block again. Unlike a broadcast the variables that are used can be named in the call to the custom block - ie a broadcast would always work with the same variables and would need them to be loaded before the broadcast.

The other big advantage of custom blocks is you can run them with no screen refresh so you can draw a shape using a loop without having to worry about Scratch only looping 30 times a second..
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

deck26 wrote:

Simple example. Say, for some reason you wanted to calculate the difference between the biggest and smallest of a set of three numbers.

define range (v1) (v2) (v3)
set [max v] to (v1)
set [min v] to (v1)
if < (v2) > (max)>
set [max v] to (v2)
end
if < (v3) > (max)>
set [max v] to (v3)
end
if < (v2) < (min)>
set [min v] to (v2)
end
if < (v3) < (min)>
set [min v] to (v3)
end
set [result v] to ((max) - (min))


range (a) (b) (c)
range (x) (y) (z)
The last two blocks are examples of using the custom block. In each case the result variable would contain the answer so you want to use it in some way before calling the custom block again. Unlike a broadcast the variables that are used can be named in the call to the custom block - ie a broadcast would always work with the same variables and would need them to be loaded before the broadcast.

The other big advantage of custom blocks is you can run them with no screen refresh so you can draw a shape using a loop without having to worry about Scratch only looping 30 times a second..
I think I understand this, here is the kinda block I need:
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

AgentMooshroom5 wrote:

deck26 wrote:

Simple example. Say, for some reason you wanted to calculate the difference between the biggest and smallest of a set of three numbers.

define range (v1) (v2) (v3)
set [max v] to (v1)
set [min v] to (v1)
if < (v2) > (max)>
set [max v] to (v2)
end
if < (v3) > (max)>
set [max v] to (v3)
end
if < (v2) < (min)>
set [min v] to (v2)
end
if < (v3) < (min)>
set [min v] to (v3)
end
set [result v] to ((max) - (min))


range (a) (b) (c)
range (x) (y) (z)
The last two blocks are examples of using the custom block. In each case the result variable would contain the answer so you want to use it in some way before calling the custom block again. Unlike a broadcast the variables that are used can be named in the call to the custom block - ie a broadcast would always work with the same variables and would need them to be loaded before the broadcast.

The other big advantage of custom blocks is you can run them with no screen refresh so you can draw a shape using a loop without having to worry about Scratch only looping 30 times a second..
I think I understand this, here is the kinda block I need:

A custom block that you enter text into, and it says it in a certain way
Camo-Dude
Scratcher
500+ posts

Help with 'More Blocks'

Here is link to text engine sorry it took a while Text Engine
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

Camo-Dude wrote:

Here is link to text engine sorry it took a while Text Engine
Thanks I think I get more blocks now, this helped a lot!
Camo-Dude
Scratcher
500+ posts

Help with 'More Blocks'

AgentMooshroom5 wrote:

Camo-Dude wrote:

Here is link to text engine sorry it took a while Text Engine
Thanks I think I get more blocks now, this helped a lot!
yep if you want you can use mine I made it with easy editing
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

Here is link to text engine sorry it took a while Text Engine
Thanks I think I get more blocks now, this helped a lot!
yep if you want you can use mine I made it with easy editing
When I said that, I mant it says stuff using the ‘say’ block but this seems better
Camo-Dude
Scratcher
500+ posts

Help with 'More Blocks'

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

Here is link to text engine sorry it took a while Text Engine
Thanks I think I get more blocks now, this helped a lot!
yep if you want you can use mine I made it with easy editing
When I said that, I mant it says stuff using the ‘say’ block but this seems better
Oh ok sorry i didn't get it right
AgentMooshroom5
Scratcher
13 posts

Help with 'More Blocks'

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

AgentMooshroom5 wrote:

Camo-Dude wrote:

Here is link to text engine sorry it took a while Text Engine
Thanks I think I get more blocks now, this helped a lot!
yep if you want you can use mine I made it with easy editing
When I said that, I mant it says stuff using the ‘say’ block but this seems better
Oh ok sorry i didn't get it right
Its Fine. Yours i as good anyway

Powered by DjangoBB