Mouse Position problem.

Discussion and feedback on Construct 2

Post » Thu Feb 05, 2015 9:44 pm

I placed an object (on click) at Mouse.X and Mouse.Y on layer 0. Works fine. Object is placed at the center of the mouse pointer.

Adding another Layer, and moving the same objects to this layer, then no longer placed at the center of the mouse pointer, but somewhat offset.

Is this a new feature or bug? I'm going nuts trying to find out why......

As far as i can tell, problem stops when i remove Scroll to Behavior.

Any ideas?
Follow my progress on Twitter
or in this thread Archer Devlog
B
27
S
11
G
12
Posts: 686
Reputation: 8,624

Post » Thu Feb 05, 2015 9:55 pm

Different parallax setting on those 2 layers?
B
68
S
26
G
32
Posts: 467
Reputation: 19,405

Post » Thu Feb 05, 2015 10:12 pm

Nope

There is no Parallax, and it seems like the ScrollTo Behaviour is doing it somehow.

here is link to capx file

https://dl.dropboxusercontent.com/u/205 ... _test.capx
Follow my progress on Twitter
or in this thread Archer Devlog
B
27
S
11
G
12
Posts: 686
Reputation: 8,624

Post » Fri Feb 06, 2015 7:05 am

The parallax settings on the Layer 0 are 100,100 instead of 0,0 (as in the UI layer)
B
71
S
24
G
15
Posts: 394
Reputation: 13,515


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests