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
34
S
11
G
5
Posts: 3
Reputation: 4,560

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
80
S
34
G
40
Posts: 3,029
Reputation: 30,393

Post » Tue Jul 05, 2016 8:07 pm

https://www.ravenheart.ca/home
Company name changed to avoid Facebook-type shenanigans

"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,414
Reputation: 4,822


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 11 guests

cron