NCAlt: Alternatives and Difference Visualizations for Behavior Trees in Game Development Learning

Yousuf Hossain and Loutfouz Zaman

Abstract

When learning how to develop AI behavior it is common for students to test different ideas before settling on a desired outcome. This functionality is not available in modern behavior tree systems beyond the traditional methods of duplication and conditional execution. We present NCAlt - a visual behavior authoring framework for exploring multiple game AI behaviors. The system also allows selective merging of nodes between multiple behavior tree alternatives and their visual differencing in the game scene and behavior tree views. We present two worked examples which demonstrate how NCAlt can improve the workflow of game development students. We have conducted a user study where NCAlt was compared against NodeCanvas for creating and using alternatives with moderately skilled game development students. Participants rated NCAlt 15% higher than NodeCanvas on the System Usability Scale (SUS). NCAlt was also rated higher on a self-developed questionnaire. We also conducted a semi-structured interview and a detailed longitudinal follow-up and obtained mostly positive feedback for NCAlt. The results suggest NCAlt has a potential to improve the types of workflows with behavior trees that involve exploration for game development students and facilitate learning, as a result. NCAlt was built on top of NodeCanvas - a plugin for the Unity Engine.

Venue
CHI PLAY 2022
Volume
Proceedings of the ACM on Human-Computer Interaction, Volume 6, Issue CHI PLAY
DOI
10.1145/3549508
PDF
https://dl.acm.org/doi/pdf/10.1145/3549508
Anthology ID
2022.pacm-chiplay.28

Cite

@article{hossain-zaman-2022-ncalt,
    title = {{NCAlt: Alternatives and Difference Visualizations for Behavior Trees in Game Development Learning}},
    author = {Yousuf Hossain and Loutfouz Zaman},
    journal = {Proceedings of the ACM on Human-Computer Interaction},
    volume = {6},
    number = {CHI PLAY},
    issn = {2573-0142},
    year = {2022},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3549508},
    url = {https://doi.org/10.1145/3549508},
    abstract = {When learning how to develop AI behavior it is common for students to test different ideas before settling on a desired outcome. This functionality is not available in modern behavior tree systems beyond the traditional methods of duplication and conditional execution. We present NCAlt - a visual behavior authoring framework for exploring multiple game AI behaviors. The system also allows selective merging of nodes between multiple behavior tree alternatives and their visual differencing in the game scene and behavior tree views. We present two worked examples which demonstrate how NCAlt can improve the workflow of game development students. We have conducted a user study where NCAlt was compared against NodeCanvas for creating and using alternatives with moderately skilled game development students. Participants rated NCAlt 15\% higher than NodeCanvas on the System Usability Scale (SUS). NCAlt was also rated higher on a self-developed questionnaire. We also conducted a semi-structured interview and a detailed longitudinal follow-up and obtained mostly positive feedback for NCAlt. The results suggest NCAlt has a potential to improve the types of workflows with behavior trees that involve exploration for game development students and facilitate learning, as a result. NCAlt was built on top of NodeCanvas - a plugin for the Unity Engine.}
}