| Forum Home > How to make a game > Adding the ability to place blocks | ||
|---|---|---|
|
Administrator Posts: 7 |
Here's how you can add the ability to place blocks just like you can in Bloxminer! This is easy to make, as it's only one or two different commands. 1. Create a 32 by 32 pixel block. 2. Add collision with the player your playing as and make him stop moving by touching the block 3. Now add a trigger. (Select a certain thing you do in order for the block to appear.) 4. Now, add the "Create instance at mouse" command. That's it. When preforming that certain action, the block should spawn, just not attached to a grid. It takes more advanced stuff to do that. | |
--YOU WILL INSTALL A SPELL CHECKER TO YOUR WEB BROWSER :3
| ||
|
Site Owner Posts: 29 |
It takes REALLY advanced stuff to make a grid. But I've mastered that. BTW you need a library pack or something for the create object at mouse command. | |
|
-- k
| ||