1
00:00:00,300 --> 00:00:04,710
It's that time, again, another game, and this one is called the plane bomber game.

2
00:00:04,710 --> 00:00:09,990
So the objective here is to move the element that has the plane inside of it using your keyboard.

3
00:00:10,020 --> 00:00:14,640
So it's going to be automatically moving as well as you can adjust the positioning a little bit with

4
00:00:14,640 --> 00:00:19,230
your arrow keys on the keyboard, pressing space, you drop bombs on the target.

5
00:00:19,380 --> 00:00:22,360
The target is the black box and that's going to move.

6
00:00:22,380 --> 00:00:27,840
So whenever you hit it, we're also playing collision detection to check to see if the elements are

7
00:00:27,840 --> 00:00:32,130
overlapping and also scoring when you do hit the target.

8
00:00:32,490 --> 00:00:34,770
So all of this is covered within the section.

9
00:00:34,770 --> 00:00:39,570
How to build this from scratch as well as all of the assets you need in order to run it within your

10
00:00:39,570 --> 00:00:39,990
browser.

11
00:00:40,020 --> 00:00:40,890
Let's check this out.

12
00:00:41,130 --> 00:00:46,050
So when you come into the game, you've got an option to start the game and then you can control the

13
00:00:46,050 --> 00:00:50,340
speed a little bit and as well as the maneuverability of that element.

14
00:00:50,370 --> 00:00:56,630
So this is just an image with a div element that we've got movement on using the keyboard.

15
00:00:57,030 --> 00:01:00,690
So whenever we press the spacebar, we can drop some bombs.

16
00:01:00,850 --> 00:01:03,820
And then if those bombs hit the target, then we score some points.

17
00:01:04,110 --> 00:01:05,730
So that's the objective of this game.

18
00:01:05,880 --> 00:01:10,830
Relatively simple, but it's got some really useful parts to it that you can utilize in other games

19
00:01:10,830 --> 00:01:11,270
as well.
