Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » Need to know how to make a platformer and how to use my blocks
- Tidal_Wave11
- Scratcher
4 posts
Need to know how to make a platformer and how to use my blocks
Hat the description says
- -TheNameless-
- Scratcher
100+ posts
Need to know how to make a platformer and how to use my blocks
What do you mean, “my blocks”? Hat the description says
Do you mean the purple custom blocks?
By the way, when making future topics in this forum, please have a title that contains a quick sentence describing your problem, then elaborate on it in your post. This post has useful information on how to format your future posts here.
-TheNameless
Last edited by -TheNameless- (Feb. 12, 2022 00:13:54)
- helloworldbyeworld
- Scratcher
1000+ posts
Need to know how to make a platformer and how to use my blocks
For now to make a platformer, I reccomend using a tutorial.
My blocks (also known as custom blocks and functions) are peices of code that can be run by using a single “custom block (my block)”. When you create one, a hat define block will appear. Put whatever code you want to be run under that define hat block. Then, to run that peice of code, use the corresponding block from the my blocks block pallete. You can also pass in strings, numbers, and booleans as inputs for your block that you can use as a reporter block in the block definition. To add inputs, select your input type (string/number or boolean) at the bottom of the my block edit screen, which also appears when you make one.
My blocks (also known as custom blocks and functions) are peices of code that can be run by using a single “custom block (my block)”. When you create one, a hat define block will appear. Put whatever code you want to be run under that define hat block. Then, to run that peice of code, use the corresponding block from the my blocks block pallete. You can also pass in strings, numbers, and booleans as inputs for your block that you can use as a reporter block in the block definition. To add inputs, select your input type (string/number or boolean) at the bottom of the my block edit screen, which also appears when you make one.
Helloworldbyeworld | 1200+ posts
Have a great day
- Discussion Forums
- » Help with Scripts
- » Need to know how to make a platformer and how to use my blocks