LordViperion's Forum Posts

  • How do I set the direction of movement of an object ?

    And how can I make an object uniformly slow down the preset direction.

  • How do I create an object that does not exist in the layout ?

    I think the prefab that are also in Unity .

    In my project , there are objects which do not need to exist for as long as it does not bring them up .

    ----------------------

    And how can you do a layout was inactive ?

    Only the layout is drawn exactly what I use .

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Construct2 optimized for very low compared to the Unity ?

  • With this Construct2D program you can be prepared in these games ?

    Limbo,Harold,Ori and the blind forest,Best friends.

    Or you can create with it are very simple ?

  • thanks guys but it's very difficult.

  • I tried a lot of programs but none of them was able to create anything.

    They tried: Inkscape, Krita, Gimp.

    The biggest problem is that I can not draw and no digital drawing board.

    Is there anyone here who has the same problem as me?

    if yes,then what did you do against the problem?

  • How I shall ban it the not selected characters the lists of an event?

    There is a boxer in a game many fighters.

    They are for these fighters event their lists.

    The not selected fighters let the system not start the lists of an event unnecessarily because he squanders the resources only so.

  • EXAMPLE:

    Abstract class characters {

    Virtual void kick()

    Virtual void jump()

    }

    class MikeFighter: characters {

    Void kick() { define Mike style kick}

    Void jump { define Mike style jump}

    }

    class JoeFighter: characters {

    Void kick() { define Joe style kick}

    Void jump { define joe style jump}

    }

  • I have 22 pieces of character.

    These characters fighters and it is able to be struck by them because of this,to kick.

    Since all 22 characters are capable of the hit, a kick because of this these may be an abstract class's parts.

    The characters would inherit this though the class and would define onto their own kick, their hit.

    In this program,how can be realised the programming one is used in languages inheritance,multiformity?

  • Per second uniformly accelerated 8direction platform movement .

    I want to implement to speed up my character x seconds under a pre-set speed.

    // The characters per second maximum speed. 20 pixel per sec.

    float maxSpeed = 20.0F;

    // Five accelerate pixels per second.

    float acceleration = 5.0f;

    // Move deirection. This will include the direction of the character .

    Vector2D dir = (0,0);

    // delta time

    dt

    -------------------------------------------------------------------------------

    Platform.Move(dir * maxSpeed * dt)

    I can not figure out what I should do in the variable acceleration .

  • see the problem ?

    Something like that should :

    Player.power > 10 - -------------- -----------physics.addforce

    The player has physical behavior

  • I want to check it with a condition examination,that the objects they take action this physics with a characteristic.

    How do I check that these objects have physical properties?

  • And if the objects are not in the family ?

    This piece of code I want to achieve :

    using UnityEngine;
    using System.Collections;
    
    // Applies an explosion force to all nearby rigidbodies
    public class ExampleClass : MonoBehaviour {
        public float radius = 5.0F;
        public float power = 10.0F;
        
        // initializations or run code once.
        void Start() {
            Vector3 explosionPos = transform.position;
            Collider[] colliders = Physics.OverlapSphere(explosionPos, radius);
            foreach (Collider hit in colliders) {
                Rigidbody rb = hit.GetComponent<Rigidbody>();
                
                if (rb != null)
                    rb.AddExplosionForce(power, explosionPos, radius, 3.0F);
                
            }
        }
    }[/code:3jsjzfx9]
  • Do you understand what I want ?

    I want whatever it will be an array that are within a circle of radius x objects .

  • One x beam inside a circle can be found all to put an object into a array,how?

    Let the strength of the explosion have an effect on the objects x beam inside a circle.

    It x beam I want to store the reference of objects which can be found inside a circle away into a array in order to be allowed to estimate their direction with his separate one next. That direction where they have to fly away due to the strength what the explosion creates.