How do I Make a Scrolling in and out mechanic?

Get help using Construct 2

Post » Sat Jul 02, 2016 3:58 am

I am making a game and I wanted the ability to scroll to zoom in, and scroll to zoom out, and I can't seem to figure it out.
B
35
S
12
G
5
Posts: 6
Reputation: 4,691

Post » Sat Jul 02, 2016 9:51 am

On mousewheel up
--- Set LayoutScale to LayoutScale + 0.5

On mousewheel down
--- Set LayoutScale to LayoutScale - 0.5

Replace 0.5 with the amount you'd like it to resize by.

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
83
S
34
G
40
Posts: 3,032
Reputation: 30,474

Post » Tue Jul 05, 2016 8:07 pm

https://www.ravenheart.ca/home
I don't check the forums much anymore, but I will receive an email for PMs.

"Someone once told me I bite off more than I can chew...

I told them I would rather choke on greatness than nibble on mediocrity."
B
22
S
6
G
1
Posts: 1,418
Reputation: 4,830


Return to How do I....?

Who is online

Users browsing this forum: ditocruz, mcscooter, TRMG and 23 guests