How do I create a horizontal scroll box area?

Get help using Construct 2

Post » Wed Oct 14, 2015 1:10 am

Hello all. How do I create a horizontal scroll box area, using touch? I don't want it to scroll the entire window/layout, just the area within the box? Can someone please show me a capx example, or point me in the direction of a good tutorial?
B
33
S
8
G
1
Posts: 626
Reputation: 3,775

Post » Wed Oct 14, 2015 3:29 am

Bump...
B
33
S
8
G
1
Posts: 626
Reputation: 3,775

Post » Wed Oct 14, 2015 1:33 pm

Bump...
B
33
S
8
G
1
Posts: 626
Reputation: 3,775

Post » Wed Oct 14, 2015 1:59 pm

Like a phone screen, swiping sideways to get to next screen?
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,708

Post » Wed Oct 14, 2015 9:47 pm

Create BG Scroll box Image the size of the area you want your image to appear.

Create your FG scroll image, the image that will be scrolling.

Put them into a new layer and set the layer Force Texture to Yes

On the FG scroll image set the blend mode to Source Atop

For the FG scroll image add the behavior drag and drop.

In the drag and drop settings set it to Horizontal only.

If you want it to only scroll so far left or right.

Set events that say if FG Scrol IMage X is > than Far Right number than set FG Scroll Image X to The furthest Point right.

and Vice Versa for Left
Image
B
45
S
17
G
2
Posts: 201
Reputation: 4,501


Return to How do I....?

Who is online

Users browsing this forum: David181, jorgmaquoi, unicornspitfire and 21 guests