How do I make "click in specific order" game?

Just started using Construct 2? Post your questions here

Post » Thu Sep 08, 2016 2:03 pm

I have another question.
In this game i will have 8 items, but only 3 will be randomly shown on the screen and user must click on them in specific order.

Let's say, there are 8 food in stock: pizza, hamburger, fries, noodles, salad, soda, ice cream, cheeseburger. On the start of the game only 3 random items will be shown in three fields and user must click on them in specific order
1. Cheeseburger
2. Pizza
3. Fries

When user clicks in correct order another batch is randomly generated and shown again in the screen. How do i do this? Is there any tutorial for something similar to this?
B
14
S
3
G
1
Posts: 95
Reputation: 1,015

Post » Thu Sep 08, 2016 5:59 pm

Can do with an array.

But, lets do it without an array for once.
https://www.dropbox.com/s/7ooitzcwkpa9a ... .capx?dl=0

Shuffling an array is widely covered on the forums.
https://www.google.be/search?q=scirra+s ... scirra.com
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Thu Sep 08, 2016 7:16 pm

Thanks! I made it work!
B
14
S
3
G
1
Posts: 95
Reputation: 1,015


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 3 guests