Formulas!

0 favourites
  • 4 posts
From the Asset Store
Body mass index (BMI) is a formula that uses weight and height to estimate body fat (both metric and imperial units incl
  • For the game I wish to create I have already created various formulas. For example this is my formula for calculating the damage dealt in battle.

    All of my formulas work as I want them to in Excel, however I'm not sure if Construct has the necessary functions in place to be able to create this kind of battle system.

    Some of my formulas get... Interesting.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • That's no more complicated than algebra, just figure out the computer math or C3 equivalents, which is all there, and will handle this easily.

    I would suggest not trying to stick it all in one equation.

    Sub events make things easier and more readable.

  • Construct 3 also has Scripts, so you can write those formulas in JavaScript. But the Functions feature, using the event sheet, is a friendly version of programming, which is more than capable to do that too.

  • just stumbled on this one. Seems not so difficult actually, jus start from the inner brackets, en do everything operation by operation :

    (((((((2*a)/5)+2)*c*b)/d)/75)+2)*e*f*g*(random( (h<125?70+(h/4):100 ), (100+(h<=125?h/5:125)) ))

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)