Squar - AI 4 - First blood.mpg
ฝัง
- เผยแพร่เมื่อ 6 ก.พ. 2025
- The AI of the indie game Squar. Still in a very, very basic state that contains 3 behaviors:
Building, Collecting and Chasing.
As long as a converter is available and not all energy sources are connected it will build the shortest path from its base to an energy source.
If no converter is available it will pick up any power-ups that have spawned on the map.
If the enemy player's health drops under a quarter of maximum health it will hunt him down.
Addiontially to the above behaviors that determine the navigation of the AI tank, it simply shoots if the enemy tank or enemy converters (which have priority) come into range and line of sight.
This simple AI is already quite nice to play against...