LordViperion's Recent Forum Activity

  • Example what i want:

    sqrdestructPower = 5;

    if(collisionAnotherObject && sqrdestructPower > relativevelocity.sqrmagnitude )

    destroy object.

  • Understand thanks your answer but in the c2 box2d physics why not maked defaultly magnitude and sqrmagnitude for a better physics? And in the unity why is? Magnitude is a often used members.

    I do not like to code and math therefore I like c2 but I often feel that c2 expressions and built in members very few.

  • I dont want math.

    in unity game engine is possible.

    float maxcollisionpower = 8f;

    float sqrmaxcollisionpower = maxcollisionpower * maxcollisionpower;

    if (obj.velocity.sqrmagnitude == sqrmaxcollisionpower)

    I this want in c2. Possible?

  • Why dont come answer for this question maybe nobody dont know what is magnitude or why?

    Sory guys but i now are very fustraded. 😢

  • I want comparing magnitude variable with a another local variable for the checking a if statement.

  • example:

    for(int i = 0; i < array.Length; ++i)

    ....print(array[i,i]);

  • I have 5 objects for the collisios.

    But I want you to ignore these objects to each other but not all of them.

    Example:

    A,b,c,d,e

    In the forest stage that 'a' object can collided 'b' object but cant collided anothers 'c','d','e'.

    In the forest stage that 'c' object can collided 'd' object but cant collided anothers 'a','b','e'.

    In the forest stage that 'e' object can collided each others 'a','b','c','d' only.

    In unity game engine the layers can say that only one object may conflict with what another. This how possible in construct games?

    the physics of these features should be setup :

    Select Collision layer:

    the lis: default, background, foreground, what i want.

    It could create layers.

    just click add layer button and enter the name example for name : background.

    And the character settings can be selected the background.

  • I dont want use behaviours.

    A want make on floor function in my own platform character controller event sheet.

    I will use on collision event if i want making own on floor function? Or something else solution somebody guys?

  • I have my own platform movement eventsheet. I made it but I can not do one small thing. Each character chas a isgrounded variable this is a bool type variable.

    How can I check whether a character in conflict with whether or not ground?

  • This function returned zero or one value.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please paste code here because i dont understand.

  • In unity very easy: Color.Lerp(Color.Green,Color.Red,1-health*0.01);

LordViperion's avatar

LordViperion

Member since 30 Mar, 2015

None one is following LordViperion yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies