TM

wocreeper Games

We make games

Forums

Post Reply
Forum Home > How to make a game > Adding the ability to place blocks

Coolercoolawes
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

August 15, 2012 at 9:25 PM Flag Quote & Reply

twocreepers
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

November 19, 2013 at 7:50 PM Flag Quote & Reply

You must login to post.