Scroll Panel

Get help using Construct 2

Post » Thu Oct 24, 2013 2:49 pm

Is there any way in construct to make a sort of scroll panel that can be scrolled using touch input (or maybe mouse wheel)?

I want to use it to display some long text (news list) and a list of achievments.

Thanks for the help.
Mattias.jdbastardy2013-10-24 14:51:07
B
10
S
2
G
3
Posts: 20
Reputation: 2,531

Post » Thu Oct 24, 2013 2:58 pm

Easiest way would be to use an invisible sprite with the scrollto behaviour or a system scrollto action and move that sprite with touch.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Oct 24, 2013 3:01 pm

What I mean't was actually to create a sort of listbox, not a Whole scrolling level fi I understand your proposed solution correctly the scroll to acutally moves the Whole screen.
B
10
S
2
G
3
Posts: 20
Reputation: 2,531

Post » Thu Oct 24, 2013 3:05 pm

It only moves the layers that have paralax.

You can set the paralex of layers that shouldn't scroll to 0,0 (It can even be done during runtime I believe)
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Oct 24, 2013 3:06 pm

Did not thought about that. Anyway that is far difficult to make it for a little area of the screen (like my news ticker for example).
B
10
S
2
G
3
Posts: 20
Reputation: 2,531

Post » Thu Oct 24, 2013 3:14 pm

you could give the items in your news ticker the drag and drop behaviour, and foolaround with the settings ,or create a invisible sprite on touch and use it to manipulate the movement of the items in your newsticker, or you could make small up and down buttons to make it move, or you could create a slider to do the same..

So many options to create the same or a similar effect depending on your coding abilities and visual wishes.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Oct 24, 2013 3:17 pm

I think the up down buttons will probably be a better solution.

I'll further investigate on this.
B
10
S
2
G
3
Posts: 20
Reputation: 2,531

Post » Fri Oct 25, 2013 9:04 am

New object > Text Box
Go to text box properties select type > Text Area (this has auto scroll bars when text exceeds text box space.

You can also use a plugin
http://www.scirra.com/forum/behavior-scroll-down-for-textbox-plugin_topic52277.htmlDUTOIT2013-10-25 09:08:13
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 » Fri Oct 25, 2013 9:24 am

@DUTOIT: did not know about that. Thank you :)
B
10
S
2
G
3
Posts: 20
Reputation: 2,531


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], newt, Yahoo [Bot] and 9 guests