How do I allaing sprite cursor to system one after zoom

Get help using Construct 2

Post » Thu Jan 07, 2016 8:00 pm

In my game I need zooming. After zoom sprite cursor that fallow mouse dont do it right.
Here is link to capx with my problem.
https://www.dropbox.com/s/x2ncy46sbg89yk4/offcursor.capx?dl=0
B
9
S
3
G
3
Posts: 36
Reputation: 2,433

Post » Thu Jan 07, 2016 8:18 pm

from the manual:

X("layer")
Y("layer")
Return the position of the mouse cursor in game co-ordinates, with scrolling, scaling and rotation taken in to account for the given layer. The layer can be identified either by a string of its name or its zero-based index (e.g. Mouse.X(0)).
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 » Thu Jan 07, 2016 9:48 pm

Nice, it works, thank you for help!
B
9
S
3
G
3
Posts: 36
Reputation: 2,433


Return to How do I....?

Who is online

Users browsing this forum: jkmalau, MoscowModder, terence951, vegapomme27 and 9 guests