How do I synchronize two objects

Get help using Construct 2

Post » Wed Jan 06, 2016 3:23 am

Hello, I have two different objects in two diferent layers, both have 8-direction behavior and both follow the mouse (Set angle toward position)

The object (2) that is in the upper layer doesn't act correctly, when the mouse moves fast or positions in a point of an "imaginary lines dividing the display like this":

_______+
_______+
__+++++++++
_______+
_______+

The plus symbols conform the "imaginary lines"
The object(2) flashes and appear in both sides of an "imaginary line" like a mirror effect.

Any idea about what is the problem? And what could be the solution?
B
4
Posts: 7
Reputation: 218

Post » Wed Jan 06, 2016 4:44 am

I'm unable to duplicate this issue. Can you describe how you have your events set up with the 8directions? Also, are you doing anything with them aside from setting their angle toward the mouse coordinates?
B
42
S
26
G
22
Posts: 307
Reputation: 15,141

Post » Wed Jan 06, 2016 8:20 am

does the layer uses different scale rate/parallax values?
if so you might want to get the touch x.y by layer name, like this
touch.x("layer1")
Image
B
67
S
26
G
12
Posts: 510
Reputation: 11,972

Post » Wed Jan 06, 2016 2:18 pm

Consider posting your capx as it sounds like a tricky project setup and your issue is totally specific to it.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
268
S
96
G
66
Posts: 7,217
Reputation: 73,225

Post » Sat Jan 09, 2016 2:53 am

Excuse me, how do I post the capx?

Kyatric wrote:Consider posting your capx as it sounds like a tricky project setup and your issue is totally specific to it.
B
4
Posts: 7
Reputation: 218

Post » Sun Jan 10, 2016 1:36 am

Upload to a file hosting service like dropbox or google drive and put the link in a message.
Since you still have low reputation, consider posting the link as text, possibly into "quote" tag.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
268
S
96
G
66
Posts: 7,217
Reputation: 73,225


Return to How do I....?

Who is online

Users browsing this forum: lennaert, Magistross, ThePakernator and 7 guests