Some help with derby car game

For questions about using Classic.

Post » Fri Nov 04, 2011 2:11 pm

Hi i want to create derby car game but i do not know how to car AI. I need Ai which follow player (rotate than car....no than rts) and i need building avoid, no than in rts but real, this is no bump in building but change direction...... Any idea?
B
24
S
4
G
2
Posts: 318
Reputation: 2,446

Post » Sun Nov 06, 2011 8:55 am

You could set invisible "guid-sprites" wich are setting waypoints .. I don't really understand why you need buildings in a derby-car-game .. isn't this a big place where car's are ramming against each other hoping to not become destroyed? ^-^ .. otherwise .. you can just set waypoints like in Here(the capx was made by YANN).

Than you can add a distance(player.x,player.y, enemycar.x, enemycar.y) event that says "set angle towards player" or something like this .. and to avoid the buildings you have the waypoints

A capx would help of course =) ..

Cheers
B
17
S
4
G
4
Posts: 94
Reputation: 3,058

Post » Tue Nov 08, 2011 4:24 pm

Hmmmm and is there any c classic version? :/
B
24
S
4
G
2
Posts: 318
Reputation: 2,446


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest