错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Towers and Targeting

  • Casey Hardman

摘要

Now that we have enemies and projectiles ready to go, we need towers to fire at them. In this chapter, we’ll implement the framework that all of our towers will use, including a system that allows them to detect nearby enemies to target with their projectiles. We’ll also implement the Arrow Tower as our first tower, giving us a means of seeing our projectiles being fired at the enemies. This foundation will make it easier for us to implement the remaining tower types in a future chapter.