How do I create order

Get help using Construct 2

» Sun Mar 26, 2017 11:06 pm

Hello ,
I am working on a game for a class . Part of the game a person is suppose to hit coins in number order. My question how could I do that and if a person hits the number order wrong it resets.

Any help would be great

Thank you
B
21
S
1
Posts: 7
Reputation: 739

» Sun Mar 26, 2017 11:41 pm

is the order just 1,2,3...ect or something fancy like (prime numbers)2,3,5,7...ect?

if its the former then just

variable =1
on collision with coin
(sub event) coin value = variable >>> destroy coin, add 1 to variable
else >>> reset
B
26
S
16
G
26
Posts: 125
Reputation: 16,138

» Mon Mar 27, 2017 12:04 am

I am still learning, very new.

I am trying to have the coins which are numbered 1-10 fall down and the student would have to click on the right number in order, as they get it the speed increases and they get points.

They would get negative 10 points if they get the order wrong. I am still learning so any suggestions would be great.
B
21
S
1
Posts: 7
Reputation: 739

» Mon Mar 27, 2017 12:28 am

This kind of game correct? https://www.dropbox.com/s/7cj6ptxyakp9s ... .capx?dl=0
B
122
S
53
G
24
Posts: 794
Reputation: 23,917

» Mon Mar 27, 2017 12:43 am

https://app.box.com/s/mudx40yf4vupf6jhlhka1nogucjtnkyj

best way to learn is to dig in yourself though so I'll let you take it from there.

I actually made my first game based on something like what you're doing.

B
26
S
16
G
26
Posts: 125
Reputation: 16,138

Thank you
B
21
S
1
Posts: 7
Reputation: 739

» Mon Apr 03, 2017 1:12 am

Here is another question i am playing with what you got and for the most part I am able to get it to work. But how did you create space between numbers and i am trying to get number to drop in a specific location. How do i make that happen?
B
21
S
1
Posts: 7
Reputation: 739