Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,256 --> 00:00:03,584
What's take a break from rui filming and our general
2
00:00:03,840 --> 00:00:04,864
Visual clean
3
00:00:05,120 --> 00:00:06,656
And let's add some new car
4
00:00:07,168 --> 00:00:12,032
So one thing I'm noticing with the game is that a little bit easy because the player is very fast
5
00:00:12,288 --> 00:00:14,336
So what I'm thinking of doing is
6
00:00:14,848 --> 00:00:16,640
Reduce the player speed
7
00:00:16,896 --> 00:00:17,664
And then
8
00:00:17,920 --> 00:00:20,224
Give the player the opportunity to upgrade
9
00:00:21,504 --> 00:00:24,832
So the first thing let's go ahead and open up our player scene
10
00:00:25,088 --> 00:00:26,624
Open up that script
11
00:00:26,880 --> 00:00:30,208
Can we go max speed of 120
12
00:00:30,464 --> 00:00:36,608
5 know what I'm going to do before we go any further is this is a good opportunity to refactor to use the velocity
13
00:00:37,120 --> 00:00:37,632
That way
14
00:00:38,144 --> 00:00:38,656
Created
15
00:00:38,912 --> 00:00:41,728
So I'm going to go and do that something instance of child scene
16
00:00:42,240 --> 00:00:43,520
Velocity component
17
00:00:44,288 --> 00:00:45,312
And I'm going to put that
18
00:00:45,568 --> 00:00:46,592
Play first note here
19
00:00:46,848 --> 00:00:49,920
And I'm going to put the acceleration to BH25
20
00:00:50,432 --> 00:00:51,712
And the max speed 2
21
00:00:52,224 --> 00:00:54,272
125 for an hour change
22
00:00:54,528 --> 00:00:55,808
Because that will copying board
23
00:00:56,576 --> 00:00:59,392
Alright and I'm going to get rid of confidence at the top
24
00:00:59,648 --> 00:01:00,653
And I'm not doing already
25
00:01:00,655 --> 00:01:03,387
Subtitled by
online-courses.club
We compress knowledge for you!
26
00:01:03,388 --> 00:01:03,232
Velocity
27
00:01:03,488 --> 00:01:04,512
And I'm going to do that
28
00:01:04,768 --> 00:01:07,072
Dragging the Blaster component over into the Elder
29
00:01:07,328 --> 00:01:08,608
And then holding control
30
00:01:08,864 --> 00:01:11,168
And that would generate an already variable for
31
00:01:11,680 --> 00:01:15,264
Ok and then I'm going to do is just above this target the last
32
00:01:15,520 --> 00:01:17,824
I'm going to call velocity component
33
00:01:18,336 --> 00:01:19,616
Accelerate
34
00:01:20,640 --> 00:01:21,408
Direction
35
00:01:22,432 --> 00:01:24,480
And then we'll put in Direction right there
36
00:01:24,736 --> 00:01:27,040
And I'm going to call the last new component
37
00:01:27,296 --> 00:01:28,320
Dart move
38
00:01:28,832 --> 00:01:29,344
Self
39
00:01:29,600 --> 00:01:33,696
And we're going to remove these lines the target velocity and velocity
40
00:01:34,208 --> 00:01:37,024
Assignment lines will get rid of those and also get rid of the move
41
00:01:37,792 --> 00:01:40,352
So if we did everything correctly if we Run the game
42
00:01:40,608 --> 00:01:43,168
We should still be moving at the same exact speed
43
00:01:44,192 --> 00:01:47,264
So that's the beauty of using something like a velocity component is
44
00:01:47,520 --> 00:01:48,288
We can add
45
00:01:48,544 --> 00:01:51,616
Generic movement capabilities to everything with very little
46
00:01:52,128 --> 00:01:55,456
So now we got the players max speed to something
47
00:01:55,968 --> 00:01:56,736
90
48
00:01:56,992 --> 00:01:59,296
And let's go and play that and see all that
49
00:01:59,808 --> 00:02:03,648
Anord you should still be fast enough to OutRun everything
50
00:02:03,904 --> 00:02:05,696
Not so fast that
51
00:02:06,208 --> 00:02:06,976
It's TUI
52
00:02:07,488 --> 00:02:09,536
I think 90 is a good
53
00:02:10,304 --> 00:02:11,840
Yes this is feeling much now
54
00:02:12,352 --> 00:02:16,704
Ok let's go ahead and start working on an upgrade to upgrade the playlist
55
00:02:16,960 --> 00:02:21,312
So we're going to go to a file system over here let's go to resources folder
56
00:02:21,568 --> 00:02:22,592
And then go to upgrade
57
00:02:22,848 --> 00:02:24,896
What's duplicate any up Radio 1
58
00:02:25,152 --> 00:02:26,432
Duplicate the sword right here
59
00:02:26,688 --> 00:02:28,480
And Wolverine here before I do that
60
00:02:28,736 --> 00:02:30,272
HR AXA damage
61
00:02:30,784 --> 00:02:31,808
The wrong script
62
00:02:32,064 --> 00:02:35,904
So we got the axe and let's just change is working right here to ask
63
00:02:36,160 --> 00:02:37,696
So increases x x
64
00:02:37,952 --> 00:02:38,464
Ok
65
00:02:38,720 --> 00:02:39,744
Now duplicate
66
00:02:40,000 --> 00:02:40,768
Any
67
00:02:41,024 --> 00:02:43,584
331 or duplicate the Sword and I'm going to call
68
00:02:44,096 --> 00:02:44,864
Claire's
69
00:02:45,376 --> 00:02:46,912
Supplier under score
70
00:02:48,192 --> 00:02:52,800
Is double click it open that player speed and let's give it an ID Coldplay Spain
71
00:02:53,056 --> 00:02:54,592
And Max quantity
72
00:02:54,848 --> 00:02:57,664
Let's say IMAX quality is going to be
73
00:02:57,920 --> 00:02:58,432
2
74
00:02:58,688 --> 00:03:01,248
And let's call it move speed for the name
75
00:03:01,760 --> 00:03:03,808
Say increase
76
00:03:04,064 --> 00:03:06,368
Increases player movement speed
77
00:03:07,392 --> 00:03:08,928
I had to keep using the number
78
00:03:09,184 --> 00:03:10,720
Sent by 10% is a good
79
00:03:11,232 --> 00:03:12,000
Is a good number
80
00:03:12,256 --> 00:03:16,096
So what you say 10% again you can feel free to play with these numbers however you see fit
81
00:03:16,352 --> 00:03:17,888
What do you think that we want to do now
82
00:03:18,144 --> 00:03:19,424
Is regard that player speed
83
00:03:19,936 --> 00:03:20,448
So
84
00:03:20,704 --> 00:03:25,056
Let's go to upgrade manager so control shift upgrade manager
85
00:03:25,312 --> 00:03:28,128
Open up that script and we need a preload at
86
00:03:28,384 --> 00:03:30,176
I'm here so let's go ahead
87
00:03:30,688 --> 00:03:31,968
Copy one of these lines
88
00:03:32,224 --> 00:03:32,992
And then paste
89
00:03:33,248 --> 00:03:36,064
And this will be called upgrade player speed
90
00:03:38,368 --> 00:03:42,208
I will change this path so that it's Claire speed that try
91
00:03:42,720 --> 00:03:43,488
Just like so
92
00:03:43,744 --> 00:03:49,120
And then for upgradable let's do upgrade pool.in are ready method.and item
93
00:03:49,376 --> 00:03:50,144
Upgrade
94
00:03:50,400 --> 00:03:51,168
Where's Spain
95
00:03:52,192 --> 00:03:53,472
I must give it a small
96
00:03:53,728 --> 00:03:55,008
Giving away of 5
97
00:03:55,264 --> 00:03:56,032
Little less common
98
00:03:56,544 --> 00:04:00,896
It was God that chill so that should all be all that we need to do to show that
99
00:04:01,152 --> 00:04:02,432
As a potential option
100
00:04:02,688 --> 00:04:06,528
So now let's go ahead and go back to our player
101
00:04:06,784 --> 00:04:10,368
Open up the play script and we need a connect to that game events
102
00:04:10,624 --> 00:04:12,928
So we actually have that already game event
103
00:04:13,184 --> 00:04:15,744
Ability upgrade Adam connect to that
104
00:04:16,768 --> 00:04:18,047
We already have some
105
00:04:18,303 --> 00:04:18,815
Kodi
106
00:04:19,071 --> 00:04:20,607
Which we're going to need a change so
107
00:04:20,863 --> 00:04:24,959
Before we were checking to see if the upgrade is in ability and if not return
108
00:04:25,471 --> 00:04:27,775
But we actually don't want to do this anymore
109
00:04:28,031 --> 00:04:29,567
Invert this
110
00:04:29,823 --> 00:04:31,103
So we're going to change this
111
00:04:32,127 --> 00:04:33,919
Ability upgrade is ability
112
00:04:34,175 --> 00:04:34,943
Get rid of a knot
113
00:04:35,199 --> 00:04:38,527
What's remove that return an indent both of these lines
114
00:04:38,783 --> 00:04:41,599
Is that so now you're saying only run these lines
115
00:04:41,855 --> 00:04:44,159
If the ability upgrade is in a bit
116
00:04:44,671 --> 00:04:45,951
Let's do an LS
117
00:04:46,463 --> 00:04:47,231
At the bottom
118
00:04:47,487 --> 00:04:48,767
And that means Elsa
119
00:04:49,023 --> 00:04:50,815
We're going to say ability upgrade
120
00:04:52,095 --> 00:04:52,607
Dad
121
00:04:52,863 --> 00:04:55,167
ID is equal to in
122
00:04:55,679 --> 00:04:56,447
Claire speed
123
00:04:56,959 --> 00:04:59,007
Can we are going to want to increase her
124
00:04:59,263 --> 00:05:00,287
Let's do a pass
125
00:05:00,543 --> 00:05:01,567
Right there for now
126
00:05:02,079 --> 00:05:05,151
And what we want to do is we want to store
127
00:05:05,407 --> 00:05:05,919
H
128
00:05:06,431 --> 00:05:06,943
Start
129
00:05:07,199 --> 00:05:09,247
Right so we have our Velocity
130
00:05:09,503 --> 00:05:10,783
Velocity component
131
00:05:11,039 --> 00:05:12,575
Has max speed of 9
132
00:05:13,087 --> 00:05:15,135
So I'm going to store
133
00:05:15,391 --> 00:05:15,903
Dad
134
00:05:16,927 --> 00:05:19,231
By calling a variable base speed
135
00:05:19,743 --> 00:05:20,511
Is it good to
136
00:05:20,767 --> 00:05:21,279
0
137
00:05:21,791 --> 00:05:26,143
Then in the ready method in the first line I'm going to say base speed is equal to
138
00:05:26,399 --> 00:05:28,703
Elastic component dark max speed
139
00:05:29,727 --> 00:05:30,239
And then
140
00:05:30,495 --> 00:05:31,775
Scrolling down here
141
00:05:32,031 --> 00:05:36,383
To where we went our pass we can remove this now and we can save velocity component
142
00:05:36,639 --> 00:05:37,407
Darts
143
00:05:40,479 --> 00:05:41,759
Is equal to
144
00:05:42,015 --> 00:05:43,295
Our base speed
145
00:05:43,551 --> 00:05:44,319
X
146
00:05:44,831 --> 00:05:45,855
Well actually this
147
00:05:46,111 --> 00:05:46,623
Been based
148
00:05:46,879 --> 00:05:47,647
Plus
149
00:05:47,903 --> 00:05:49,183
And then base Beat Again
150
00:05:50,207 --> 00:05:50,975
X
151
00:05:51,231 --> 00:05:52,767
And then now we need a calculator
152
00:05:53,023 --> 00:05:54,303
The percentage so this will be
153
00:05:55,839 --> 00:05:56,863
Current upgrade
154
00:05:59,167 --> 00:05:59,935
Claire Spain
155
00:06:04,287 --> 00:06:05,567
And then we're going to index
156
00:06:06,335 --> 00:06:07,103
Quantity
157
00:06:07,871 --> 00:06:08,639
X
158
00:06:09,407 --> 00:06:10,431
So again were so
159
00:06:10,687 --> 00:06:14,271
Take the base speed x 10%
160
00:06:14,527 --> 00:06:15,295
So that means
161
00:06:15,551 --> 00:06:18,111
Every upgrade we have increases the
162
00:06:19,135 --> 00:06:21,439
Percent and so we're taking the
163
00:06:21,695 --> 00:06:25,279
The base speed in adding 10% or 20% of the base
164
00:06:25,535 --> 00:06:26,047
Depending on how
165
00:06:26,303 --> 00:06:27,327
How much coins do you
166
00:06:27,839 --> 00:06:31,167
And the way that we can test this is I'm actually going to test this bye
167
00:06:31,423 --> 00:06:34,495
Instead changing this number to something like
168
00:06:35,007 --> 00:06:36,031
One here
169
00:06:36,287 --> 00:06:37,311
To make it really a
170
00:06:37,823 --> 00:06:39,871
And then I'm going to go to my upgrade manager
171
00:06:40,127 --> 00:06:40,895
And I'm just going
172
00:06:41,151 --> 00:06:41,663
Make the
173
00:06:41,919 --> 00:06:44,223
Opera playlist I'm going to give it a way of life
174
00:06:44,479 --> 00:06:45,247
$10
175
00:06:45,503 --> 00:06:48,063
And that was pretty much guarantee that it will be chosen
176
00:06:48,319 --> 00:06:49,343
And that way we can't
177
00:06:49,599 --> 00:06:50,879
What's the make sure that that are
178
00:06:51,135 --> 00:06:51,647
How old is
179
00:06:53,183 --> 00:06:54,463
Titleist tour speed
180
00:06:54,719 --> 00:06:55,487
And look at
181
00:06:56,511 --> 00:06:57,535
Very fast now
182
00:06:58,303 --> 00:07:02,655
So let's go ahead and undo always changes after verifying at work so change the way back
183
00:07:02,911 --> 00:07:06,495
25 and then go back to the player and change this back to point
184
00:07:07,007 --> 00:07:09,311
Alright and that's the player move speed upgrade
12092
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.