How to move an object around using touch gestures

Get help using Construct 2

Post » Thu Feb 13, 2014 7:33 pm

Hi,

What is the easiest method to control a sprite around using touch screen?

I succeeded in sending the sprite to different parts of the screen, but what i want is to be able to move an object around freely when i'm touching it, and for it to stop when i lift off.

B
7
S
2
Posts: 110
Reputation: 927

Post » Thu Feb 13, 2014 9:15 pm

RamPackWobble2014-02-13 21:15:45
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Thu Feb 13, 2014 9:24 pm

What about the drag and drop behavior?
B
101
S
32
G
11
Posts: 1,546
Reputation: 21,727

Post » Thu Feb 13, 2014 9:43 pm

[QUOTE=RamPackWobble] [/QUOTE]

Didn't work sadly..
B
7
S
2
Posts: 110
Reputation: 927

Post » Thu Feb 13, 2014 10:06 pm

[QUOTE=mist] Didn't work sadly.. [/QUOTE]

Appears to here ?

As ArcadEd pointed out the Drag and drop behaviour will probably be better for you to use.

edit - capx if you want ?RamPackWobble2014-02-13 22:10:58
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Thu Feb 13, 2014 10:21 pm

I can't open that capx file. Get an error message that it was saved with version 1.6.1 or higer.

B
7
S
2
Posts: 110
Reputation: 927

Post » Thu Feb 13, 2014 10:27 pm

I was hoping to be able to flick the sprite around too, when you release the sprite using drag and drop it just drops straight down.
B
7
S
2
Posts: 110
Reputation: 927

Post » Thu Feb 13, 2014 10:31 pm

beta download is at the bottom of this page

see this postRamPackWobble2014-02-13 22:33:15
August 2015 - I misplaced a lot of links - I will try to find backups and repost. If You find a post that interests please reply to post with @rampackwobble and I will get a nudge!

If you find my posts useful please consider donating something to a local charity or to the http://www.mndassociation.org/
B
64
S
34
G
47
Posts: 1,194
Reputation: 30,892

Post » Thu Feb 13, 2014 11:14 pm

Brilliant! Now i just need to figure out how to make it bounce around and act according to gravity and not just stop as soon as i lift my finger off..mist2014-02-13 23:15:28
B
7
S
2
Posts: 110
Reputation: 927


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests