CakeSpear's Recent Forum Activity

  • is there an built in pushout function in Connstruct?:

    Pushing an object out of an Obstacle, with perfect acurracy, the way it came in from?

    Anyone have experience doing this if its not built in?

  • Thank you very much for your insight in this R0J0hound!

    However i dont quite understand your every word.

    "When the events are processed to be usable by the runtime constants in expressions are collapsed. So "64999966 / 1000000" is evaluated and the result is used in place."

    What are the runtime constants?

    What does it mean that expressions are collapsed?

    ...

    "You can also prevent constants from being combined when exporting and previewing by making a global number called "one" with a value of one and use that global in between constants. So your expression would look like:

    64999966*one / 1000000"

    Im not very good at construct.

    Does this solution provide an accurate correct output?

    ...

    Is there no other way around this, say for example an efficient way of just moving the decimal point to the left for example?

    Thanks again, i really want to try and understand this.

  • LOL I get 65! does it round up then?!

    ^This is my point exacly

    Other similar software return the same, slightly, "faulty" result ( for this particulr calculation, and maybe other calculations as well ).

    Game Maker ( another creation software ) however, returns correctlt 64,9999660000

    Im trying to create a relatively delicate system, and slight inaccuracies like this result in my objects being a pixel off in certain situations ( which in my particular case is quite bad ).

    What im more interested in knowing is:

    • Whats the reason for this inacurracy?
    • Is it related to computers general inability to handle certain numbers accuuratly?
    • Is there any way i can fix or work around this ( in Construct or in general )?
    • Is there an 'efficient' way i can move the decimal point of a set number, without doing a divisio?
  • Hi

    I have a simple question

    If you in Constructdo this calculation

    64999966 / 1000000

    What is the output?

    ( I know what the anwer aught to be, but im wondering what the actuall output is in Construct )

    Thanks

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hi

    I have a simple question

    If you in Construct do this calculation

    64999966 / 1000000

    What is the output?

    ( I know what the anwer aught to be, but im wondering what the actuall output is in Construct )

    Thanks

CakeSpear's avatar

CakeSpear

Member since 14 Jan, 2014

None one is following CakeSpear yet!

Trophy Case

  • 10-Year Club

Progress

10/44
How to earn trophies