Random Equation

Get help using Construct 2

Post » Wed Apr 25, 2012 3:07 am

Hi guys, I'm trying to make a bunch of random equations for this app I'm making. Currently I cannot figure out how to make it so the equation shows: Random Number 1-5 Plus Random Number 1-5 Equals Question Mark. I'm trying to make the answers in multiple choice format where there are three numbers two incorrect and one that's right. Can someone show me in event sheet form how that would look? Thanks so much.
B
3
Posts: 23
Reputation: 396

Post » Wed Apr 25, 2012 4:34 am

Try setting a Text object's text to something like:

int(random(1, 6)) & " + " & int(random(1, 6)) & " = ?"
Scirra Founder
B
387
S
230
G
87
Posts: 24,249
Reputation: 192,250


Return to How do I....?

Who is online

Users browsing this forum: Cha0tiXGamer, ketramtu18, MaujDeveloper and 10 guests