Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
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 ?
Develop games in your browser. Powerful, performant & highly capable.
I try to explain it visually becouse too noob for
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" />