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?
Posts: 20
Reputation: 517

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.
Posts: 1,077
Reputation: 36,531

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 2 guests