Hey guys im designing my first game!! been wanting to do this for a long time for my kids. This game is a platformer that you have to collect coins. they are inside chests. To open the chect you have to answer a random math question. My problem is that I cannot seem to create a random question. Im probably doing it all wrong but could someone point me in the right direction? thanks in advance.
This is what ive been trying in a text field
round(random(0,10)) " + " round(random(0,11)) " ="
says there is a syntax error with the " + "
what would be the best way of achieving what i want?
I would also like to know how you guys would handle the answering of these questions. Do i put a text box in and do a function to compare the values, then tell it to move on with the game?