Path Planning with Inventory-Driven Jump-Point-Search
Davide Aversa, Sebastian Sardiña, Stavros Vassos · Proceedings of the AAAI Conference on Artificial Intelligence and Interactive Digital Entertainment · 2015
In many navigational domains the traversability of cells is conditioned on the path taken. This is often the case in videogames, in which a character may need to acquire a certain object (i.e., a key or a flying suit) to be able to traverse specific locations (e.g., doors or high walls). In order for non-player characters to handle such scenarios we present InvJPS, an “inventory-driven” pathfinding approach based on the highly successful grid-based Jump-Point-Search (JPS) algorithm. We show, formally and experimentally, that the InvJPS preserves JPS’s optimality guarantees and its symmetry breaking advantages in inventory-based variants of game maps.