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 do i make Construct 2 pick between numbers?
I was thinking adding a variable and then having it randomly draw between 1 and X but i can't finger out how to do this. any tips?
You can use Choose, or Random (converted to an Int).
Thank you blackhornet
nOT SURE WHAT i'm doing wrong here.
I have it
a box for Answer1 with text in it
Then a trigger
system set Answer1 to Random (1,101)
Tower1 set text to Answer1
but nothing shows up
Develop games in your browser. Powerful, performant & highly capable.
What's the trigger? Might want to check in debug mode that Random is actually being set.
it's all set to do on start of layout
I found the bug, Its doing .3213213 or something like that after, how do i make it round up or down?
WOOT thanks black hornet!
CampingCarl For future reference, you can find a list of the possible expressions for rounding/converting variables here: