GUI Setup with Scrolling Layers & Zoom Click

0 favourites
  • 5 posts
From the Asset Store
Set of 4 monsters for your metroidvania game (Bat, Slime, Snake and Carnivorous Plant)
  • OK so I have a setup like this for scrolling up and down in my game.

    <img src="http://s10.postimage.org/gxuaa0t1l/LL_Game_Scroll_to_Image_Height_Scroll_Speed.png" border="0" />

    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?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • For the GUI, put it on a layer with parallax 0,0.

    For the zoom, use "System: Compare two values":

    +On Right button clicked
     +layoutscale = 1
      -> Set layout scale to WindowHeight/Comic.Height
     +Else
      -> Set layout scale to 1
    
  • 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

  • <font size="4"><font face="Times New Roman, Times, serif">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.</font></font>

  • Great tip, mate!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)