Please Help with World Deletion

Get help using Construct 2

Post » Sun May 19, 2013 1:24 am

Hello! I am currently working on a little project in which you can shape your own landscape and plant villages in different places and they will interact etc. That is the basic concept in my mind. I've only started world creation. I can create hills and things perfectly fine, but I am having trouble with deletion. Basically as long as you are clicking you can make hills out of little blocks, and I want it so when you right click the blocks they are deleted. The only two ways I could think of were to make it so when I right click it deletes the block but that just deleted all the blocks. So I used "on Right button clicked on solidTile" "Delete".
This does what I want, but you have to click every time to delete a block. I want it so you just hold the button and drag to delete blocks. I tried adding a repeat every 0.1 seconds but I cant as it is "button CLICKED" and not "button down" or whatever. I want to know is there any way around this? Thanks in advance.
Posts: 54
Reputation: 533

Post » Sun May 19, 2013 3:17 am

Check if

Right mouse button is down
Cursor is over object BLOCK
> Destroy BLOCK

This way, if the right mouse button is down and the mouse is over the object, it destroys/deletes it.
Posts: 351
Reputation: 5,151

Return to How do I....?

Who is online

Users browsing this forum: savaslt and 21 guests