How do I put answer in 1 of 4 options

Get help using Construct 2

Post » Wed Apr 29, 2015 5:32 pm

I making a math game, i put the answer in a global var, i need to put in 1 of 4 options, with each one 25% change to be the right one
Thanks !
B
5
Posts: 4
Reputation: 239

Post » Thu Apr 30, 2015 1:47 am

add instance variable. then compare it with global variable answer.
"If you want to move a mountain tomorrow, you should start by lifting stones today."
B
64
S
14
G
2
Posts: 291
Reputation: 6,666

Post » Thu Apr 30, 2015 7:21 am

Create a global variable that is the answer to the problem. I assume you're going to put the answer in a text box. the global variable should be a number.

Textbox.text = globalvariable.value 》do something
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283


Return to How do I....?

Who is online

Users browsing this forum: batto, bclikesyou and 28 guests