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
359
S
214
G
72
Posts: 22,951
Reputation: 178,578


Return to How do I....?

Who is online

Users browsing this forum: flemmig, semaso, Skebab, Virpoja and 13 guests