How do I make an accordion menu?

Get help using Construct 2

Post » Sat Apr 05, 2014 12:46 am

Mazdakfx wrote:...
One more thing, when item A is open and item B touched, close item A and open item B,
...

Done, but if each item have different sizes, the animation will be a little weird... So there's a CAPX without the animations :D

Mazdakfx wrote:...
Also I need to pin different sprites in left side of item (instead of Text_Item) as you can see in my screen shot in first page...

It's there now!
You do not have the required permissions to view the files attached to this post.
B
21
S
8
G
7
Posts: 49
Reputation: 5,274

Post » Sat Apr 05, 2014 7:14 am

Thank you @Seasky
I meant use animation for Item not for new sprite you add! Sure, you are right, it's gona be weird if each item have defferent size, my plan is the same sazi for all items.
New sprites has to be defferent for each item.
Also when one of ithems is open, you can't close it without openning the other one?!
You do not have the required permissions to view the files attached to this post.
B
7
S
1
Posts: 53
Reputation: 545

Post » Sat Apr 05, 2014 9:24 pm

To close an opened item, just execute the actions that close the item (when Button.animationFrame = 1)
You do not have the required permissions to view the files attached to this post.
B
21
S
8
G
7
Posts: 49
Reputation: 5,274

Post » Sun Apr 06, 2014 7:40 am

Thank you very much @Seasky
I think if you just change to more thing, it's gona be perfect!
Did you play "Banana Kong" or "Jetpack Joyride"?
My plan is to make an store menu like that.
Need to change left sprite for each menu item, and add defferent act for each botton!
But this time let's back to "Example_AccordionMenu_2.capx" and change it!
B
7
S
1
Posts: 53
Reputation: 545

Post » Sun Apr 06, 2014 5:54 pm

@Mazdakfx
I played a long time ago, and don't remember how it works... xD
B
21
S
8
G
7
Posts: 49
Reputation: 5,274

Post » Sun Apr 06, 2014 6:58 pm

@Seasky
LoL ;)
B
7
S
1
Posts: 53
Reputation: 545

Previous

Return to How do I....?

Who is online

Users browsing this forum: babymumu and 4 guests