Click and drag

Get help using Construct 2

Post » Sun Jul 19, 2015 4:36 am

Hey guys and girls,

Im looking for a way to be able to click and drag on a tile based game. similar to how prison architect or sims would work for creating rooms or things like city building games for building a paths.

Thanks
B
11
S
1
Posts: 57
Reputation: 1,519

Post » Sun Jul 19, 2015 7:06 am

Construct 2 has a fairly basic drag and drop functionality. If this is insufficient then you can code one manually ; my Match 3 game (see blog/github) does a drag and drop but is "hard coded" to touch events.
My tutorial through development blog is at http://myconstruct2dev.blogspot.co.uk/
B
12
S
3
Posts: 221
Reputation: 1,328

Post » Mon Aug 10, 2015 7:17 am

paulscottrobson wrote:Construct 2 has a fairly basic drag and drop functionality. If this is insufficient then you can code one manually ; my Match 3 game (see blog/github) does a drag and drop but is "hard coded" to touch events.


Thank you very much for reply, I dont know the first thing on coding so I think I should look at other ways.
B
11
S
1
Posts: 57
Reputation: 1,519

Post » Mon Aug 10, 2015 7:30 pm

The Sprite behavior "Drag & Drop" works great for this. We use this behavior to build custom sliders.
https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,418
Reputation: 4,830


Return to How do I....?

Who is online

Users browsing this forum: Elliott, kellehk, Voytek and 21 guests