How to Drag Tower?

Get help using Construct 2

Post » Sun Jul 14, 2013 2:19 pm

Hi guys!I am trying to develop a Tower defense game for touch devices.


The problem is that ,I don't know How to put the tower in specific area?
B
9
S
2
Posts: 82
Reputation: 914

Post » Sun Jul 14, 2013 2:22 pm

You'll need to be more specific, but to start, add the drag and drop behavior to the tower. I doubt you'll want to have it persistantly able to be dragged so you'll want something to trigger the behavior to be disabled in the event sheet. I'd suggest placing a blank sprite named "marker" or similar and creating an event sheet that picks the nearest marker, moves tower onto it, and then turns off drag and drop behavior.
B
8
S
1
Posts: 31
Reputation: 598

Post » Sun Jul 14, 2013 2:27 pm

Thanks!
Do you have some examples?
B
9
S
2
Posts: 82
Reputation: 914


Return to How do I....?

Who is online

Users browsing this forum: AllanR, Artpunk, QuantumMMX and 6 guests