官术网_书友最值得收藏!

Chapter 4. Creating an Enemy AI

Pretty much every game has bad guys and it is no different in GAS. In this chapter, we will create our very own enemy artificial intelligence (AI) that can shoot at the player. Here is what you will learn:

  • How to register a new AI class
  • How to make the AI detect the player and not move
  • How to make the AI shoot the player
主站蜘蛛池模板: 招远市| 大同市| 云梦县| 印江| 筠连县| 资兴市| 黔江区| 黎川县| 咸宁市| 光山县| 西城区| 洛隆县| 阜宁县| 柘荣县| 册亨县| 榕江县| 于田县| 湾仔区| 内丘县| 故城县| 和田县| 岗巴县| 环江| 五常市| 会昌县| 积石山| 通道| 清水河县| 西丰县| 南开区| 德州市| 洛宁县| 肇州县| 陵水| 深泽县| 松潘县| 开鲁县| 剑河县| 苗栗市| 岳池县| 东台市|