I’m making a game that might make player fall and I need a button for them to respawn. So I made a game overlay and a checkpoint then entered for all the channels: respawn. But that did not work. I also wonder about the blocks section, what is that used for and how?
Welcome to the community brielle!
You have to connect a respawn device to the game overlay as well to make the respawn button work.
Ok I’ll try that. Thank you!
Your welcome!
Pretty easy, you just use a game overlay and connect it with respawn device.
So when the player presses the button they respawn to the checkpoint(like the one they just pressed).
If that helped, mark it as a solution!
And I don’t have to use wires?
Do you want to use wires or channels for your system?
Edit: Oh never mind
No, you connect the game overlay and respawn device with a wire
Player presses the button–> respawn player
So how do you use the blocks?
Blocks are used for more advanced stuff, like randomizers and changing stuff when certain stuff has happened.
That’s correct. You can use channels or wires. Channels do not cost memory, while wires cost 5 memory each.
You can change the popup to transmit on “respawn”, and the respawn device triggers when receiving on “respawn”.
What part of block coding are you asking about? What the blocks do?
I don’t have much experience of what blocks are.
EDIT:
Okay got it SlimExtraterrestrial
It’s fine, they can ask multiple questions in the same topic.
Anything! I don’t know anything about them.
Okay, well, block code can do these main things:
- do math
- change text
- if statements
- broadcast on channels
- set properties
Those are probably the main things that get used in block code with some extra features such as the triggering players team number, id, name, and a few others. There is currently no way to track health/shield accurately but future updates might improve it.
If you use the search bar to look for guides, you can definitely learn block code.
If statements are the most used. You can check if a value is true/false, if a number is greater than another number, if a string of text has a certain letter or word in it, and anything in between. Math and text blocks are useful for if statements, along with setting properties and variables.
You can’t do anything in block code without properties or channels, otherwise there is no interaction between the game and the block code. Here is my custom base calculator code (part of it). [1]
I know it looks advanced and complicated, and I hope this wasn’t too much to comprehend, but you can do some cool stuff with block code.
I can probably compress the code more to save memory, but oh well. ↩︎
@parkthecatfamily please create a new topic to ask a question instead of unhelpfully posting in a different one which is considered off-topic as you were not contributing. You are at a high risk of being flagged if you do this.
Welcome to the community @brielle. The blocks section is used for more complicated systems which are not accounted for by other devices and their channels. This therefore means that you have to manually code them instead of using the devices’ pre-inputted statements.
This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.
