Sprite Lag With Touch

Get help using Construct 2

Post » Fri Jul 19, 2013 2:37 am

In my game I have Touch > Is Touching Object > Object > Set X to touch.X
when I preview the object moves with touch but if touch or mouse moves to fast it the object stops.

If I enable Is in Touch > Is Touching Object > Object > Set X to touch.X the object moves along fine, but I have 3 objects that the player must move independently when they Touch that object so the Is Touching isn't feasible.

Any suggestions?


Thanks for any help.


CAPXjeffige2013-07-19 02:40:24
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Fri Jul 19, 2013 3:59 am

Did you try the drag and drop behavior instead?
B
100
S
31
G
11
Posts: 1,552
Reputation: 21,522

Post » Fri Jul 19, 2013 4:06 am

Uh, drag and drop?
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Fri Jul 19, 2013 5:45 am

There is a behavior you can add to sprites called drag and drop. When you click and hold (or touch and hold) a sprite you can drag it around as fast as you want. Not sure if that will help you.
B
100
S
31
G
11
Posts: 1,552
Reputation: 21,522

Post » Sat Jul 20, 2013 12:16 am

Dang, thought drag and drop might work, but...

You can move the cone all around the window, I only need it to move on the X axis.

I've tried many different things but I can't seem to figure this out. I'm pulling my hair out and I ain't got that much left.

Can anyone help or at least point me in the right direction?

UPDATED CAPX
B
38
S
18
G
19
Posts: 664
Reputation: 14,107

Post » Sun Jul 21, 2013 3:31 am

Okay, after messing around with the events and actions I finally have it.

Thanks for pointing me in the right direction, ARCADED
B
38
S
18
G
19
Posts: 664
Reputation: 14,107


Return to How do I....?

Who is online

Users browsing this forum: drdisk, SebastianOs, stevecameron and 10 guests