1 00:00:00,543 --> 00:00:04,386 In this series, you'll create your first game AI, 2 00:00:04,557 --> 00:00:07,314 the turrets that you can see on screen right now. 3 00:00:08,170 --> 00:00:12,800 We'll first learn about physics interactions and see how we can use areas 4 00:00:12,886 --> 00:00:17,167 to detect when two things overlap, like the chest and the gems here. 5 00:00:18,600 --> 00:00:20,917 Then, we'll create a shooting turret. 6 00:00:21,175 --> 00:00:23,333 You'll learn about instancing. 7 00:00:23,367 --> 00:00:24,375 You've seen that before, 8 00:00:24,408 --> 00:00:29,175 but you'll see how to turn the rocket and fire it towards the target, 9 00:00:29,450 --> 00:00:34,317 and you'll see that our turret fires at any target in range. 10 00:00:35,210 --> 00:00:39,992 Then, we'll see how to create variations of that turret, 11 00:00:40,142 --> 00:00:42,417 and we'll use inheritance for that. 12 00:00:42,733 --> 00:00:46,667 So here we have a turret that shoots at multiple targets in range 13 00:00:46,908 --> 00:00:52,525 and we have another one that fires at the weakest target in range. 14 00:00:53,200 --> 00:00:54,917 With that, let's get started.