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
Upload and play games from the Construct community
Game development stories & opinions
I'm doing trying to do a random damage forumla.
Example: [11 x RANDOM(1~1.125) - DEF] x STR x (Lv+STR)/256]
[11 x RANDOM(1~1.125) - 100] x STR x (4+123)/256]]
How would I write this "RANDOM(1~1.125)" as? random(1+1.125)?
(11 x floor(RANDOM(1+1.125)) - 100] x STR x (4+123)/256))
Develop games in your browser. Powerful, performant & highly capable.
[quote:2ff65doh]How would I write this "RANDOM(1~1.125)" as? random(1+1.125)?
It would be 1+random(0.125).
R0J0hound, if I had money, I donate to you. Not just for this, but for all the times you have helped me.