Using Scroll To with a slide in Menu.

0 favourites
  • 4 posts
From the Asset Store
All popular touch mechanics - scrolling, zooming, swiping
  • I have a rather large layout for my platforming game, and I want to be able to use Scroll to to have the Camera follow my character.

    However, I have a top UI menu, and also a slide in menu that slides in from the top when you hit a keyboard key.

    How could I made the Camera follow the Character, and have the UI and Slide in menu also follow, and have the Slide in Menu still work?

    I've searched all over the forums and google, and haven't been able to figure out a good solution for this.

    Thanks again everyone!

  • I'm not sure how you are doing the slide in menu, so that might complicate things, but it sounds like you just need to set the Parallax.

    See here in the manual:

    Set the stuff that should stay put on screen to a Parallax of 0, and it should sit still while the layout scrolls around under it. (or over it depending on your layer order.)

    (edit: I always forget to make the link clickable.)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey thanks!

    It's funny, I looked at the Layers page a little while ago, and must have totally missed the Parallax portion, and allowing things to not scroll. Thanks for bringing that to my attention.

    Sorry for posting something I could have easily found.

  • No problem, there's a lot there, it's easy to miss. And now there's a greater chance the next person searching the forums for something like this, will find the answer.

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