How do I create order

Get help using Construct 2

Post » 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
20
S
1
Posts: 7
Reputation: 714

Post » 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
25
S
16
G
26
Posts: 125
Reputation: 16,103

Post » 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
20
S
1
Posts: 7
Reputation: 714

Post » Mon Mar 27, 2017 12:28 am

This kind of game correct? https://www.dropbox.com/s/7cj6ptxyakp9s ... .capx?dl=0
Feel free to adjust it to your own needs.
ImageImage
B
105
S
46
G
23
Posts: 778
Reputation: 22,226

Post » Mon Mar 27, 2017 12:43 am

this should help you get started:
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.

https://play.google.com/store/apps/deta ... anic.myapp
B
25
S
16
G
26
Posts: 125
Reputation: 16,103

Post » Tue Mar 28, 2017 1:13 am

Thank you
B
20
S
1
Posts: 7
Reputation: 714

Post » 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
20
S
1
Posts: 7
Reputation: 714


Return to How do I....?

Who is online

Users browsing this forum: tarek2 and 4 guests