Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:06,656 --> 00:00:12,800
Next in work on is just insuring Natalie
2
00:00:13,056 --> 00:00:16,384
Please can you show the player can die
3
00:00:16,896 --> 00:00:19,968
Going to do is going to a player script here
4
00:00:20,480 --> 00:00:24,576
Functions can be called public void dye
5
00:00:25,600 --> 00:00:27,136
We're going to do is just
6
00:00:27,904 --> 00:00:34,048
It's about it the way we do that is just reload the scene
7
00:00:34,304 --> 00:00:38,144
That's all going to do for now I was going to Google
8
00:00:39,168 --> 00:00:41,728
Load scene unity
9
00:00:47,360 --> 00:00:49,920
I'm going to do is copy this
10
00:00:51,200 --> 00:00:57,344
When I got to worry about the different types of load modes were just going to do a basic load see manager
11
00:00:57,600 --> 00:00:58,368
Load scene
12
00:00:58,624 --> 00:01:01,549
And we're going to do the currency name which is currently
13
00:01:01,551 --> 00:01:03,899
Subtitled by
-♪ online-courses.club ♪-
We compress knowledge for you!
https://t.me/joinchat/ailxpXoW3JVjYzQ1
14
00:01:03,900 --> 00:01:04,512
Table scene
15
00:01:04,768 --> 00:01:08,352
So we're gonna be sure
16
00:01:08,608 --> 00:01:10,400
Disable scene
17
00:01:11,936 --> 00:01:18,080
We do have some red zig zags here what is this the name scene manager does not exist in the car
18
00:01:18,336 --> 00:01:18,848
Context
19
00:01:19,616 --> 00:01:22,688
How much does a link here show potential fixes
20
00:01:23,968 --> 00:01:27,552
If we double check this is added to a script
21
00:01:29,344 --> 00:01:30,880
It's fixed what do we do
22
00:01:31,136 --> 00:01:32,928
Looks like we added
23
00:01:33,952 --> 00:01:40,096
Is namespace here this name space will allow us to manage the various scenes in
24
00:01:40,352 --> 00:01:41,888
What scenes in Arnold scenes
25
00:01:42,144 --> 00:01:43,424
From the new player script
26
00:01:44,704 --> 00:01:49,824
So now when the player dies I was going to do is just going to delete everything
27
00:01:50,080 --> 00:01:51,616
Henry lau the scene
28
00:01:52,384 --> 00:01:54,432
Obviously when a player dies
29
00:01:54,688 --> 00:02:00,832
They certainly starts and save data in repositioning of the player maybe want some enemies to be dead in Rome
30
00:02:01,088 --> 00:02:02,624
Dead even if you die
31
00:02:03,136 --> 00:02:08,256
Future videos but for now this is all going to do or just get a reload this scene
32
00:02:08,768 --> 00:02:13,120
Ok so we have the dice function but we don't actually fire it from anywhere
33
00:02:13,632 --> 00:02:16,704
Well in update are we going to do is this
34
00:02:17,984 --> 00:02:23,616
Check if player health is smaller than or equal to
35
00:02:24,128 --> 00:02:30,272
0 is just like we did with the enemy in fact we could try to copy this perfectly just like that
36
00:02:32,320 --> 00:02:33,344
Play stay here
37
00:02:33,856 --> 00:02:38,720
Destroying a player or going to do is die
38
00:02:39,744 --> 00:02:41,792
Can I call this function here
39
00:02:42,304 --> 00:02:43,584
You need to hear
40
00:02:45,120 --> 00:02:48,192
And let's see here we select our enemy
41
00:02:48,704 --> 00:02:50,752
What is attack power is 10
42
00:02:51,264 --> 00:02:53,568
Which means if I get hit 10 times
43
00:02:53,824 --> 00:02:54,848
Is the player
44
00:02:55,616 --> 00:02:59,456
Or actually if my house is currently 50 sets that are healthy 100
45
00:02:59,712 --> 00:03:02,272
Now if I get hit 10 x an enemy
46
00:03:03,552 --> 00:03:04,320
I would I
47
00:03:04,832 --> 00:03:06,624
Meaning to see no reload
48
00:03:06,880 --> 00:03:07,904
Duchess Hipley
49
00:03:10,464 --> 00:03:11,744
That's what your health
50
00:03:14,304 --> 00:03:15,072
90
51
00:03:17,888 --> 00:03:18,912
70
52
00:03:20,192 --> 00:03:20,960
60
53
00:03:21,728 --> 00:03:23,776
50
54
00:03:24,288 --> 00:03:25,056
40
55
00:03:28,384 --> 00:03:34,272
10 or 20 km countdown am guys
56
00:03:34,784 --> 00:03:40,928
Some reason at 11 I don't know why and how is that one in we died
57
00:03:41,184 --> 00:03:41,696
Set the scene
58
00:03:43,488 --> 00:03:44,512
Smelly gas
59
00:03:45,024 --> 00:03:47,840
So we got basically this core game loop created
60
00:03:48,096 --> 00:03:49,376
We have enemies
61
00:03:49,632 --> 00:03:51,936
We are collectible coins and help
62
00:03:52,448 --> 00:03:53,728
We have a key
63
00:03:54,240 --> 00:03:55,520
We can use that key
64
00:03:56,288 --> 00:04:00,128
Stars the enemies here we actually even we want to kill we could
65
00:04:03,456 --> 00:04:09,600
And open up the gate
4696
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.