Declarative methods such as Answer Set Programming show potential in cutting down development costs in commercial videogames and real-time applications in general. Sensors update is one of the major bottlenecks preventing their adoption in such dynamic domains. In this work we show a new optimized approach for the sensors update cycle deployed in our ThinkEngine, a framework in which a tight integration of declarative formalisms within the typical game development workflow is made possible in the context of the Unity game engine. ThinkEngine allows to wire declarative AI modules to the game logic and to move the computational load of reasoning tasks outside the main game loop using an hybrid deliberative/reactive architecture. In this paper, we discuss the crucial role of the sensors update cycle in the run-time performance of our framework and then we propose a new, optimized, sensors update workflow. After describing the new approach, we report about performance improvements.

On the impact of sensors update in declarative AI for videogames

Angilica D.;De Giorgio G. M.;Ianni G.
2023-01-01

Abstract

Declarative methods such as Answer Set Programming show potential in cutting down development costs in commercial videogames and real-time applications in general. Sensors update is one of the major bottlenecks preventing their adoption in such dynamic domains. In this work we show a new optimized approach for the sensors update cycle deployed in our ThinkEngine, a framework in which a tight integration of declarative formalisms within the typical game development workflow is made possible in the context of the Unity game engine. ThinkEngine allows to wire declarative AI modules to the game logic and to move the computational load of reasoning tasks outside the main game loop using an hybrid deliberative/reactive architecture. In this paper, we discuss the crucial role of the sensors update cycle in the run-time performance of our framework and then we propose a new, optimized, sensors update workflow. After describing the new approach, we report about performance improvements.
2023
Answer Set Programming
Declarative Methods
Game Design
Knowledge Representation and Reasoning
Unity
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/20.500.11770/357162
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
social impact