How do I make a scrollable area?

  • Is it possible to create a sprite that is able to be scrolled, while not scrolling the main canvas?

    For example, if I have a background image on my canvas, I want that to stay as-is and not scroll. On top of that, I will have a smaller box (sprite?) that will contain an image (or several images) and I want it to be able to 'scroll', so the user can see the rest of the image (or images).

    Basically I am trying to make a scrollable 'list', but each item is a graphic, not just simple text.

  • SSzretter if I understand your requirements correctly, you might try checking out Septeven's "iScoll" plugin?

    Hope this helps...

    -Remy

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • That looks really promising, thank you

  • Layers and parallax are your friend

    Set up a background layer and set parallax to 0. All of the images are on a different layer and also put something with the scroll behaviour on that layer.

    When you move the object with the scrolling behaviour you will see that the layer with the images will also scroll while the background will stay as it is.

    EDIT: Very simple mock up attached

  • You can also pin all your images to the box and add the drag and drop behaviour to the box.

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