New answers tagged ai
0
votes
How to Prevent Enemy Overlap
If you are ok with more work on sprites you could simply use different sprites for the enemies.
You could have enemies composted of randomized different parts. This is probably overkill just for this ...
0
votes
Why are the transform game objects moving away from the snail when they are swapping their direction?
It looks like you meant to use localPosition (the offset of the child object relative to its parent) rather than position (the ...
0
votes
Accepted
How to make ranged RTS units move to their firing range from an opponent using flow fields?
Instead of a flow field (storing direction to travel at each point), consider using a distance field (storing the distance to the closest enemy at each point).
From a distance field, you can quickly ...
0
votes
How to make ranged RTS units move to their firing range from an opponent using flow fields?
A simple solution to this would be to have two flow fields:
An "Attack" flow field.
A "Retreat" flow field.
If the ranged unit is too far away it uses the attack flow field to ...
Top 50 recent answers are included
Related Tags
ai × 807unity × 133
path-finding × 133
algorithm × 88
c# × 81
game-design × 54
2d × 51
movement × 48
java × 46
steering-behaviors × 40
architecture × 34
game-mechanics × 32
c++ × 30
navmesh × 28
physics × 27
behavior × 26
mathematics × 25
collision-detection × 23
turn-based × 23
behavior-tree × 19
xna × 18
javascript × 18
software-engineering × 18
fsm × 18
libgdx × 17