This article was published for AiGameDev.com ULTIMATE members, available by subscription. You can join here in a minute or less. If you're already a member, log-in from the top right menu.

Ultimate Teaser
hide-seek.medium

Sandbox Release #9: Hide & Seek, Line of Sight and Game Architecture

Alex J. Champandard on August 9, 2009

This ninth release of the Sandbox introduces a new mini-game demo, where the bots use boxes to hide from the moving cursor. To do this, the AI queries the underlying collision representation for ray tests, to determine if a cover location is hidden or not. Finally, this version of the code introduces new game code concepts to help simplify the application code; for instance, central systems are used to manage the components, such as NavigationSystem, LocomotionSystem, etc. Also, the loose components of the MVC are tied together in a more explicit way using something similar to a domain-specific language within C++.