Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Game development stories & opinions
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 <img src="smileys/smiley5.gif" border="0" align="middle" />
could you give us an example, just something like pseudo code ?
I try to explain it visually becouse too noob for
Develop games in your browser. Powerful, performant & highly capable.
damn it doesn't show black but hopefully you can understand the picture.
RandomNumber1 = int(random(0,100)
PlayerRandomNumber = int(random(0,100)
Answernumber = Randomnumber1*PlayerRandomNumber
the expression int() is used to create an integer.
Thanks for help <img src="smileys/smiley36.gif" border="0" align="middle" />