How do I make a slide list inside a window?

Get help using Construct 2

Post » Tue Jun 06, 2017 9:33 pm

So, I have searched for tutorials about this but I haven't found any. I am trying to make a column of buttons placed one on top of another inside a window, but since there are a lot of buttons, I want to make it able to slide this column of buttons up and down without them leaving the window, but gradually disappearing. Just like scrolling inside a text box, the text never leaves the box but is visible only within the box itself.
My first project:
Image
B
20
S
8
G
1
Posts: 172
Reputation: 2,463

Post » Wed Jun 07, 2017 12:12 am

this is an example menu I made awhile back that may help you out.

https://www.dropbox.com/s/59wxqhttszs9t ... .capx?dl=0
B
25
S
16
G
26
Posts: 125
Reputation: 16,103

Post » Wed Jun 07, 2017 9:40 am

Thanks

But it's weird why does 'Destination atop' have a different effect on TextObjects..... Do you have any idea why?
My first project:
Image
B
20
S
8
G
1
Posts: 172
Reputation: 2,463

Post » Wed Jun 07, 2017 9:36 pm

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Jun 07, 2017 10:47 pm

Fading them away gradually won't look good cause the buttons are scrolling just like in celstrider's example, while the text inside the buttons isn't.. :/
My first project:
Image
B
20
S
8
G
1
Posts: 172
Reputation: 2,463

Post » Wed Jun 07, 2017 10:56 pm

Share your project.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Wed Jun 07, 2017 11:12 pm

Image

I think this image shows very well what I am trying to tell you. So, I need the text to hide together with the buttons..
My first project:
Image
B
20
S
8
G
1
Posts: 172
Reputation: 2,463

Post » Thu Jun 08, 2017 3:44 am

i dont really know how effects work, I just played around with them until it did what I wanted.

"destination over" will work for both text objects and the sprites.

but im not sure how to change the background to anything other than black.

it would probably be better to do this:
https://www.dropbox.com/s/2h42346b9dy1p ... .capx?dl=0
B
25
S
16
G
26
Posts: 125
Reputation: 16,103

Post » Thu Jun 08, 2017 12:36 pm

Yes, I thought of that as well but as you can probably see in my case it is a window which is above the background, so I can't make a tiled background just like in your example...

It's really a shame that the same blend mode has a different effect for different objects...
My first project:
Image
B
20
S
8
G
1
Posts: 172
Reputation: 2,463

Post » Thu Jun 08, 2017 9:26 pm

there's a capx over in this thread that uses a different method of blending to make a content window that might be worth looking at.
viewtopic.php?f=147&t=124444&p=896125#p896125
Last edited by celstrider on Thu Jun 08, 2017 9:37 pm, edited 1 time in total.
B
25
S
16
G
26
Posts: 125
Reputation: 16,103

Next

Return to How do I....?

Who is online

Users browsing this forum: koops and 7 guests