How do I make an accordion menu?

Get help using Construct 2

Post » Fri Apr 04, 2014 6:17 am

How do make an accordion menu?
I hope the picture can help what I need!
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 53
Reputation: 545

Post » Fri Apr 04, 2014 11:45 am

@shirokuma
Do you have any idea?
B
7
S
1
Posts: 53
Reputation: 545

Post » Fri Apr 04, 2014 11:55 am

@Mazdakfx
I'm just about to head to work so I can't try this out, but off hand I would say set up the triangle with an on touch that changes the height of the sprite underneath it as well as the Y position of the sprites below it. You probably want to set the origin of the of the menu sprites to the top so that when you adjust their height they grow down only.

I hope that made sense. If you don't get it worked out beforehand I play with it when I get home tonight.
B
17
S
4
G
3
Posts: 172
Reputation: 1,933

Post » Fri Apr 04, 2014 12:27 pm

What if it have some sprite pin on it and shows when height changes?!
B
7
S
1
Posts: 53
Reputation: 545

Post » Fri Apr 04, 2014 1:06 pm

That has possibilities. Or here is a start on my idea.
You do not have the required permissions to view the files attached to this post.
B
17
S
4
G
3
Posts: 172
Reputation: 1,933

Post » Fri Apr 04, 2014 2:10 pm

@shirokuma
Thank you, I did that already!
But it's not what i meant. Actually I want something like "Jetpack Joyride" menu.
Code: Select all
https://itunes.apple.com/en/app/jetpack-joyride/id457446957?mt=8

I made first and second layout but the 3rd one is accordion menu and it also need swap when it's longer than screen.
B
7
S
1
Posts: 53
Reputation: 545

Post » Fri Apr 04, 2014 2:57 pm

I played Jetpack Joyride a little, but I'm not sure which menu you are referring to. Is it the store menu?
B
17
S
4
G
3
Posts: 172
Reputation: 1,933

Post » Fri Apr 04, 2014 3:19 pm

sure, store menu when you choosing Clothes, Jetpack,... then you going next layout, That is the menu what I'm looking for!
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 53
Reputation: 545

Post » Fri Apr 04, 2014 4:01 pm

Okay, give this a try.
You do not have the required permissions to view the files attached to this post.
B
17
S
4
G
3
Posts: 172
Reputation: 1,933

Post » Fri Apr 04, 2014 4:18 pm

Something like that, but it has to be a better way!
Buy sprite is invisible but still is touchable!
I know you are working right now and I don't want to bother you, lets do it after work!
B
7
S
1
Posts: 53
Reputation: 545

Next

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests