This was originally just going to be how I make dice for my maps (thanks to ClicClac and others for that), but I decided to expand it to how I make each space work, and a guide for how you can, too. For now, it’s just the dice, but the other topics will be coming soon. Let me know if you see something that needs editing, and thank you to all the people who have helped me make these items, like ClicClac with the dice last year, and various others.
Dice (1-6 for this example)
Here is all you need to make a simple D6 dice:
-One Trigger
-One Game Overlay
-One Wire (connecting the game overlay to the trigger, but we’ll cover that later)
-Six Notifications (more or less depending on how many sides your dice shall have)
Thanks G-Code549, I didn’t understand where the Hide Items thing was, but now I’ve edited the original post for it to be hidden in a summary. I’ll be adding space tips, item tips, and mini game tips soon enough, but for now, I’ll keep working on my own map.
Just a tip @Fizzle1491:
Your block code is way more complicated than it needs to be.
There’s this thing called concatenation, where we can simplify blocks further in cases like these. Here’s what your blocks could look like and produce the same result:
Broadcast message on channel | Random integer from [1] to [6]
Does that make sense? It will just broadcast what the integer is, saving a headache of code. I would suggest you click on the link to learn more about concatenation, and use this in the future where possible!
That would make it easier actually, I’ll change it around real quick. Thanks, Here_to_help, that actually solves a lot of my later problems for random wheels and spins
EDIT: The picture has been updated to work with 5 blocks, and works the same way. Concatenation for the win
Uhh, you still made it a bit complicated. Get rid of the “Create Text With” block, it’s not needed. You can connect the Random integer block right to the channel block. Channels automatically broadcast in numbers (don’t ask, just something that’s apparently true), so this just needs to be 4 blocks.
Whenever I attempt to attach the Broadcast Message on Channel block with the Random Integer from # to # block, they move away from each other and don’t connect. Am I doing this wrong, or is there a bug preventing me from doing this, @Here_to_help?