How do I a intelligent car ?

0 favourites
  • 4 posts
From the Asset Store
Race with others on this challenging road and become the best!
  • Hello,

    I will make a car game, when you drive a car in a circuit with a enemy car which is directed by itself, but I don't say how make. Can you help me ?

    lucstanislash

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You could try adding the pathfinding behaviour to the enemy car and set up waypoints for it around the the circuit.

  • Driving AI is often a difficult thing to approach, because there's a lot of ways it can be done - and they're often used based on the applicability to the style of racing game you're trying to make.

    You can use things like bullet behaviour and set up custom "intersections" that gives the AI some orders to adjust angle, choose a direction, etc. You can use a path behaviour of exact driving, coupled with custom movement, phsyics, or almost anything else to give the AI a chance to "be less perfect". As mekonbekon has said you can try pathfinding, though the type of movement you would get wouldn't seem much like a car that's driving.

    Are you doing a birdseye/overhead view racing game or maybe isometric? Are you planning on having conventional cars, or are you doing some kind of hovering racer? A little more information about your idea would maybe help find a good course of action to investigate.

    ~Sol

  • Thank you very much for your advice

    goo.gl/photos/s6aUAXGAxcc2qU4d8

    For information, the blue and white car is the ennemi car and the brown and white car is diriged by the player.

    lucstanislash

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