1
00:00:00,000 --> 00:00:04,350
Welcome back, my fellow future game developers.

2
00:00:04,350 --> 00:00:10,230
Why did I say futures this time not as the regular words that I say.

3
00:00:10,230 --> 00:00:14,280
Well, because this is the video where you decide whether you want to

4
00:00:14,280 --> 00:00:18,590
become a true game developer or you just want to follow the steps that I make.

5
00:00:18,585 --> 00:00:22,475
Because this video, everything that we do, extremely simple.

6
00:00:22,470 --> 00:00:23,580
We've already done that.

7
00:00:23,580 --> 00:00:25,110
We've already done everything.

8
00:00:25,110 --> 00:00:26,850
There is nothing new to learn.

9
00:00:26,850 --> 00:00:28,680
This video is all about using

10
00:00:28,680 --> 00:00:33,240
your imagination and training those game developer muscles that you have.

11
00:00:33,240 --> 00:00:38,320
I've told you all the time that you need to add your own creativity and to the game.

12
00:00:38,320 --> 00:00:42,290
To this point, you've always been following what I've done 100%.

13
00:00:42,290 --> 00:00:45,890
This is the time to actually think of different ways you

14
00:00:45,890 --> 00:00:50,450
can use or different game designs that you can use in your game.

15
00:00:50,450 --> 00:00:52,540
So without further ado,

16
00:00:52,535 --> 00:00:57,425
let's not waste any more time and let's get started.

17
00:00:57,425 --> 00:00:59,665
Hey, welcome back.

18
00:00:59,660 --> 00:01:03,500
So this video is all about gangs design.

19
00:01:03,500 --> 00:01:05,290
It's not going to be very long.

20
00:01:05,285 --> 00:01:10,475
It's just going to be an example of how you would like to design your gain.

21
00:01:10,475 --> 00:01:13,495
So obviously right now you already know that when

22
00:01:13,490 --> 00:01:16,940
the enemy is shooting at us, as you get close,

23
00:01:16,940 --> 00:01:24,400
you can see that we can shoot off his bullets every time the shot towards us.

24
00:01:24,395 --> 00:01:26,965
Okay, Great. Now, that is good enough.

25
00:01:26,960 --> 00:01:29,810
But what if the time between shots is,

26
00:01:29,810 --> 00:01:33,130
let's say 0.1 from the game again.

27
00:01:33,125 --> 00:01:37,735
So you can see right now that the bullets of the enemy are destroying themselves.

28
00:01:37,730 --> 00:01:40,640
Why? Because that's how we've set up the layers.

29
00:01:40,640 --> 00:01:42,200
And one more thing also,

30
00:01:42,200 --> 00:01:45,790
if we go ahead and try to sell it back to one,

31
00:01:45,785 --> 00:01:48,485
okay, So the enemy shoots arrows.

32
00:01:48,485 --> 00:01:51,185
Let's see what is happening.

33
00:01:51,185 --> 00:01:54,475
0 times 0, 0 know,

34
00:01:54,470 --> 00:01:57,410
back in here we choose the enemy.

35
00:01:57,410 --> 00:02:02,720
If we put them, you can see right now that the enemy starts shooting himself.

36
00:02:02,719 --> 00:02:03,439
There you go.

37
00:02:03,440 --> 00:02:08,180
You can see that the bullet of the enemy actually kills him.

38
00:02:08,180 --> 00:02:11,020
So what's the whole point of this video?

39
00:02:11,015 --> 00:02:13,235
It's to issue you this challenge.

40
00:02:13,235 --> 00:02:17,105
And your challenge is going to be to create an enemy bullet layer.

41
00:02:17,105 --> 00:02:19,255
So create an enemy bullet layer,

42
00:02:19,250 --> 00:02:22,090
assign it to the enemy bullets or the bullets,

43
00:02:22,085 --> 00:02:24,295
obviously the, whatever it is,

44
00:02:24,290 --> 00:02:27,170
the sword or maybe you've created your own, I don't know.

45
00:02:27,170 --> 00:02:30,410
And then decide whether you want the enemy bullets

46
00:02:30,410 --> 00:02:33,920
to interact with the players bullets based on your game.

47
00:02:33,920 --> 00:02:38,440
If you want the enemies bullets to kill the enemy.

48
00:02:38,435 --> 00:02:42,245
If you want the other enemy bullets to interact with enemy bullets.

49
00:02:42,245 --> 00:02:46,565
Like this is the point where you decide how you want your game to look.

50
00:02:46,565 --> 00:02:50,345
Maybe enemy killing themselves if they are stupid,

51
00:02:50,345 --> 00:02:54,145
is a good idea at will enhance the realism or

52
00:02:54,140 --> 00:02:58,990
the feel of the game better than having the bullet just traverse through the enemy.

53
00:02:58,985 --> 00:03:02,905
Maybe you don't want your bullets to destroy the enemies bullets.

54
00:03:02,900 --> 00:03:07,030
So this will add a more challenging gameplay to your game.

55
00:03:07,025 --> 00:03:12,535
Take the time to think of all the ways that Sure game can unfold.

56
00:03:12,530 --> 00:03:14,120
So with that said,

57
00:03:14,120 --> 00:03:15,440
pause the video right now,

58
00:03:15,440 --> 00:03:17,830
go to the challenge.

59
00:03:17,825 --> 00:03:19,795
Okay, welcome back.

60
00:03:19,790 --> 00:03:28,170
So I'm going to go ahead and add a layer in here which will be the enemy bullets enter.

61
00:03:28,170 --> 00:03:32,390
Go to the flank, skeleton sorts like the enemy bullets.

62
00:03:32,389 --> 00:03:34,189
Let's go to the Edit.

63
00:03:34,190 --> 00:03:35,960
Let's check the project settings.

64
00:03:35,960 --> 00:03:39,200
The enemy bullets should not interact with the enemy bullets,

65
00:03:39,200 --> 00:03:42,530
and the enemy bullets should not interact with the enemy,

66
00:03:42,530 --> 00:03:44,800
but we don't have an enemy layer.

67
00:03:44,795 --> 00:03:46,595
Well, let's go ahead and added,

68
00:03:46,595 --> 00:03:47,935
if I check the enemy,

69
00:03:47,930 --> 00:03:54,670
this should be the skeleton enemy.

70
00:03:54,665 --> 00:03:55,615
Enter.

71
00:03:55,610 --> 00:03:57,880
Let's go ahead and the prefab him.

72
00:03:57,875 --> 00:04:01,355
Let's create a new folder for the enemy prefabs.

73
00:04:01,355 --> 00:04:05,905
Because maybe you just want to create another one later on.

74
00:04:05,900 --> 00:04:09,350
There you go. Let's set his layer as the,

75
00:04:09,350 --> 00:04:12,240
okay, we haven't created the layer.

76
00:04:12,340 --> 00:04:15,560
The enemy hit Enter.

77
00:04:15,559 --> 00:04:17,899
Select the dude.

78
00:04:17,900 --> 00:04:20,180
And let's make him yes,

79
00:04:20,180 --> 00:04:24,260
change children's save that, run the game.

80
00:04:24,260 --> 00:04:28,490
So now if our skeleton enemy has a time between shots of

81
00:04:28,490 --> 00:04:32,990
0.1 and let's see how that looks. There you go.

82
00:04:32,990 --> 00:04:36,770
He shoots a lot of bullets and they do not destroy themselves.

83
00:04:36,770 --> 00:04:39,820
They are ugly, but they do not destroy themselves.

84
00:04:39,815 --> 00:04:42,685
That's, let's stop this for a second.

85
00:04:42,680 --> 00:04:44,180
Keep this at one.

86
00:04:44,180 --> 00:04:47,360
Maybe increase the range of fire.

87
00:04:47,359 --> 00:04:49,699
So their case range,

88
00:04:49,700 --> 00:04:51,320
where is it shooting range?

89
00:04:51,320 --> 00:04:52,160
There we go.

90
00:04:52,160 --> 00:04:53,900
Increase it a bit.

91
00:04:53,900 --> 00:04:56,830
I wouldn't move the player into the range.

92
00:04:56,825 --> 00:05:00,325
And I'm going to select the,

93
00:05:00,320 --> 00:05:01,870
where is he the enemy?

94
00:05:01,865 --> 00:05:03,925
I'm going to move him in front of the bullets.

95
00:05:03,920 --> 00:05:08,800
So is he destroying himself with the bullets z.

96
00:05:08,795 --> 00:05:10,675
Okay, so he's still is.

97
00:05:10,670 --> 00:05:13,790
So we need to go added project settings.

98
00:05:13,790 --> 00:05:17,870
And the enemy does not interact with the enemy bullets,

99
00:05:17,870 --> 00:05:20,320
or maybe the enemy doesn't even interact with the enemy.

100
00:05:20,315 --> 00:05:22,415
So it goes to you,

101
00:05:22,415 --> 00:05:23,915
what are your preference?

102
00:05:23,915 --> 00:05:28,675
I told you you are going to be adding your own creativity and to the game.

103
00:05:28,670 --> 00:05:31,700
This is the time if you still haven't done anything,

104
00:05:31,700 --> 00:05:33,760
do something different than me.

105
00:05:33,755 --> 00:05:36,145
Try to do the challenges all the time.

106
00:05:36,140 --> 00:05:39,260
Make sure that you try your best every single time you

107
00:05:39,260 --> 00:05:42,590
might come up with code that is better than mine are not getting.

108
00:05:42,590 --> 00:05:44,500
I sometimes get suggestions,

109
00:05:44,495 --> 00:05:50,035
suggestions from students that are incredible and things that I haven't even noticed.

110
00:05:50,030 --> 00:05:54,880
So I always recommend that you go do your best with that.

111
00:05:54,875 --> 00:05:56,105
I hope you enjoy.

112
00:05:56,105 --> 00:05:58,945
If you haven't left a review yet, do me the favor,

113
00:05:58,940 --> 00:06:02,630
do the review, make sure that you always commit your changes.

114
00:06:02,630 --> 00:06:05,630
It helps me out a lot when you leave

115
00:06:05,630 --> 00:06:09,050
a review at lets everyone know this is a good course.

116
00:06:09,050 --> 00:06:10,100
It's worth watching.

117
00:06:10,100 --> 00:06:13,600
I hope you are enjoying and I'll see you in the next section,

118
00:06:13,595 --> 00:06:20,095
may be where we start setting up the health system if I'm not mistaken.

119
00:06:20,090 --> 00:06:25,230
So that said, I'll see you in the next video and section.

