Cursor object scale independent

Get help using Construct 2

Post » Fri Dec 13, 2013 4:31 pm

Hi everybody. I making something and i'm stuck at this (as in topic): how can I move cursor sprite with mouse? It work with layer scale=1 but not in 0.5. (And why grid not cover all layer?)

[email protected]://drive.google.com/file/d/0B2z_kShVsBHBZnVsWGZFWjVab2s/edit?usp=sharing
(remove @ from link - anti-anti-spam :) )winhelp2013-12-13 16:32:41
B
3
Posts: 2
Reputation: 179

Post » Fri Dec 13, 2013 4:36 pm

target set position to mouse.x(0),mouse.y(0)

The (0) stands for the layer and therefor will respond to the scaling.LittleStain2013-12-13 16:37:29
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Dec 16, 2013 10:43 am

Amazing fast answer! :) Thx.
B
3
Posts: 2
Reputation: 179


Return to How do I....?

Who is online

Users browsing this forum: RetrocadeMedia and 2 guests