Multiplication math game

Get help using Construct 2

Post » Thu Oct 31, 2013 2:56 pm

How can I make a calculation which two numbers are automatically randomly generated and for third number there is few options? I know how to generate random numbers but the problem is that result should be round
B
5
S
1
Posts: 7
Reputation: 447

Post » Thu Oct 31, 2013 3:05 pm

could you give us an example, just something like pseudo code ?
B
15
S
6
G
6
Posts: 512
Reputation: 5,555

Post » Thu Oct 31, 2013 4:09 pm

i44.tinypic.com/sgke4x.png
I try to explain it visually becouse too noob for
B
5
S
1
Posts: 7
Reputation: 447

Post » Thu Oct 31, 2013 4:11 pm

damn it doesn't show black but hopefully you can understand the picture.
B
5
S
1
Posts: 7
Reputation: 447

Post » Thu Oct 31, 2013 5:18 pm

RandomNumber1 = int(random(0,100)
PlayerRandomNumber = int(random(0,100)
Answernumber = Randomnumber1*PlayerRandomNumber

the expression int() is used to create an integer.LittleStain2013-10-31 17:19:35
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Nov 01, 2013 8:22 pm

Thanks for help
B
5
S
1
Posts: 7
Reputation: 447


Return to How do I....?

Who is online

Users browsing this forum: DolyGamesCosmos and 18 guests