how to make screen follow the cursor

Get help using Construct 2

Post » Sat Aug 25, 2012 1:32 pm

the title says it all how do I make the screen follow the cursor.
B
8
S
3
G
2
Posts: 23
Reputation: 2,076

Post » Sat Aug 25, 2012 1:52 pm

Every tick
-> System: Scroll to position
    => Mouse.X; Mouse.Y
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
258
S
90
G
48
Posts: 7,084
Reputation: 62,904

Post » Sat Aug 25, 2012 2:14 pm

it scrolls too fast is there anyway I can control the sensitivity?
B
8
S
3
G
2
Posts: 23
Reputation: 2,076

Post » Sat Aug 25, 2012 2:34 pm

use lerp(scrolx,mouse.x,dt*H) , lerp (scroly,mouse.y,dt*H)
H = will change the speed keep trying 1,2,3,4.. until you find something that help you
B
49
S
15
G
6
Posts: 795
Reputation: 12,105


Return to How do I....?

Who is online

Users browsing this forum: pirikos and 0 guests