Batallitas

This demo is created and programmed by me and Pablo Martín, it is a minigame of fights between groups, to test how the Unreal Engine AI works.

As we can see in the video, we have two types of agents, one that shoots from a distance and the other that attacks in melee. The AI of these agents is created using Behavior trees, a tool that offers us unreal to create our AI.

Different algorithms have been used to create the environment:

  • For the fight zone, cell generation has been used , which can be hot-switched.


  • For the environment we have perlin noise 2D , in which we create a texture and from it we create the height map. The creation of the map has been hot but when the game is created the seed is preset because the algorithm is heavy.


  • For the foliage we have used Markov chains, in which by means of decisions and percentages, the trees are created.

Map Creation