animations affecting drag and drop

Get help using Construct 2

Post » Wed Apr 18, 2012 9:42 pm

Hi I am making a game that requires touch input as you drag the character around so I am using the drag and drop on my sprite to achieve this but my character animations are interrupting the drag and drop what can I do to solve this?

In the event sheet I have it set to play certain animations on drag start and stop etc but once they play the character drops and is hard to pick up again due to the animations playing from what I can see.

Sorry if this is really stupid question.
B
3
Posts: 2
Reputation: 454

Post » Wed Apr 18, 2012 9:45 pm

Hmm, maybe you can make it so that you don't grab the character; instead, you grab an invisible object in front of them that does not animate, and make the character pinned to it. That might work.
B
11
S
3
G
5
Posts: 10
Reputation: 3,514

Post » Wed Apr 18, 2012 9:58 pm

Ah hadn't thought of that should work just great thanks

Just an update turns out it was the physics pulling the character away from the mouse so I have set physics to off when the character is being dragged which has fixed the issue.
Yemo2012-04-19 17:51:09
B
3
Posts: 2
Reputation: 454


Return to How do I....?

Who is online

Users browsing this forum: benajad, Braus, R0J0hound, shinkan and 24 guests