How do I manage many sprite with different action?

Get help using Construct 2

Post » Thu Dec 29, 2016 12:41 pm

.__.
I make a game with 26 button. The player will win if they're press the right button example right button is (1, 3, 4, 5). But my problem is I have so many button here and in the layout 2, 3, 4, etc the answer will change. I think it will so difficult to setting it manual sprite to different action. How i manage this porblem? Can someone help me please?
B
8
Posts: 20
Reputation: 342

Post » Thu Dec 29, 2016 4:57 pm

If I'm understanding your problem correctly, you could use one button sprite and add an ID variable to it, then use that variable to decide if the pressed button is the correct one or not. The same variable can be used to display the correct button sprite frame or number. If I'm not understanding correctly what you need then please try to explain again so we can help, or better yet, post your capx for us to look at.
B
61
S
20
G
56
Posts: 1,077
Reputation: 35,986


Return to How do I....?

Who is online

Users browsing this forum: blue visionary, namaewayukidesu, Yahoo [Bot] and 9 guests