GUI Setup with Scrolling Layers & Zoom Click

Get help using Construct 2

Post » Sun Jul 29, 2012 9:00 pm

OK so I have a setup like this for scrolling up and down in my game.

Problem is when I add the GUI Layer it also scrolls and I don't know how to make it not do that.
Also someone commented on my game and asked if it was possible to view the entire comic page. How do I set up it up so that on Right Mouse Click all layers scale to window height unless scale equals current comic height, if so scale back? Does this involve parallaxing?blazah992012-07-29 22:54:37
B
13
S
4
G
2
Posts: 26
Reputation: 2,429

Post » Sun Jul 29, 2012 11:19 pm

For the GUI, put it on a layer with parallax 0,0.

For the zoom, use "System: Compare two values":
[code]+On Right button clicked
+layoutscale = 1
-> Set layout scale to WindowHeight/Comic.Height
+Else
-> Set layout scale to 1
[/code]
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Fri Jun 28, 2013 1:22 am

Hello Gui u could add zoom in your comic made ??in C2, I'm doing the same thing here if u have interest in exchanging information add me on facebook or skype

Facebook: fabricio.soares.alencar @ gmail.com
Skype: fabricio.soares.alencar @ hotmail.com
B
10
S
4
G
4
Posts: 4
Reputation: 3,365

Post » Fri Jun 28, 2013 5:49 am

To make the gui doesn't scroll .. You can change it's event sheet, Make a new event sheet and then go to the gui layout and set it's event sheet to the new one, By that it won't scroll.
B
22
S
8
G
2
Posts: 229
Reputation: 2,989

Post » Fri Jun 28, 2013 12:55 pm

Great tip, mate!
B
13
S
6
G
3
Posts: 20
Reputation: 4,091


Return to How do I....?

Who is online

Users browsing this forum: fredriksthlm, marekmk, Yahoo [Bot] and 1 guest