How do I scroll the layout with mouse?

Get help using Construct 2

Post » Sun May 21, 2017 12:43 am

I want the camera to go to the left when the cursor is at the left border of the layout, to the riht when it on the right border and stay stop when it is at each other place. How can I do it?
B
21
S
8
G
1
Posts: 29
Reputation: 2,000

Post » Sun May 21, 2017 1:14 am

Here is an example I made just now. You can make the scroll sprite invisible in the game, I just made it visible now for testing purposes.

dropbox.com/s/gfrd4v2oqw2w6em/Mouse_scroll.capx?dl=0
Like my work? Fallow me on social media, and see my games on the arcade.
B
7
S
5
G
9
Posts: 298
Reputation: 5,367

Post » Sun May 21, 2017 2:55 am

Thank you bro, it helped.
B
21
S
8
G
1
Posts: 29
Reputation: 2,000


Return to How do I....?

Who is online

Users browsing this forum: chrisinfinger, Yahoo [Bot] and 19 guests