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.
B
5
Posts: 54
Reputation: 358

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.
B
15
S
4
G
4
Posts: 294
Reputation: 3,225


Return to How do I....?

Who is online

Users browsing this forum: abdalghani, imothep85, LeFuji, makkancs, Marxally, Virpoja and 22 guests