How do I make a scrollable area?

Get help using Construct 2

Post » Wed Jul 09, 2014 9:44 pm

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.
B
5
Posts: 8
Reputation: 241

Post » Thu Jul 10, 2014 2:04 am

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

plugin-iscroll_t66289?&hilit=iscroll

Hope this helps...

-Remy
B
72
S
14
G
1
Posts: 151
Reputation: 4,999

Post » Thu Jul 10, 2014 10:23 am

That looks really promising, thank you
B
5
Posts: 8
Reputation: 241

Post » Thu Jul 10, 2014 12:58 pm

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 do not have the required permissions to view the files attached to this post.
B
44
S
10
G
8
Posts: 437
Reputation: 6,463

Post » Thu Jul 10, 2014 2:23 pm

You can also pin all your images to the box and add the drag and drop behaviour to the box.
Please tag me with @caiorosisca if your post is refering to me :). I don't always follow the topics I answer.
B
11
S
4
G
1
Posts: 272
Reputation: 1,643


Return to How do I....?

Who is online

Users browsing this forum: AndreasR, blackhornet and 12 guests