Abstract
You now know how to make a tile-based game world, and you also know how to make a player character that can navigate through that world. But how do you create sprites that can wander around and explore the world on their own? Take a moment to play the example prototype called tileBasedLineOfSight.html that you’ll find in this chapter’s source files (shown in Figure 5-1). The maze is populated by three monsters who wander around randomly until they spot the alien character – then they chase him relentlessly.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Rex van der Spuy
About this chapter
Cite this chapter
van der Spuy, R. (2017). Pathfinding Basics. In: The Advanced Game Developer's Toolkit. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1097-0_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-1097-0_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-1098-7
Online ISBN: 978-1-4842-1097-0
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books