All language subtitles for 29. Main menu

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian Download
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:04,010 --> 00:00:06,560 Now, the big question is what happens when it's game over? 2 00:00:07,160 --> 00:00:12,620 So we actually need to be able to return to a main menu, but we've not created the main menu yet. 3 00:00:13,040 --> 00:00:15,650 So let's actually do that in this video. 4 00:00:16,310 --> 00:00:18,470 Just make sure that you're saving this seat. 5 00:00:19,160 --> 00:00:22,220 We're going to go to file new scene, basic built in. 6 00:00:22,580 --> 00:00:24,380 Just create this, OK? 7 00:00:24,710 --> 00:00:28,640 Don't need to directional like select delete that main camera. 8 00:00:28,800 --> 00:00:34,040 We're going to change Claire Flux to solid color and we're just going to give it a solid black background. 9 00:00:34,640 --> 00:00:35,060 OK. 10 00:00:35,610 --> 00:00:36,080 And. 11 00:00:38,490 --> 00:00:43,540 Yeah, clipping planes not necessary to the far distance of a thousand, you can probably just set this 12 00:00:43,540 --> 00:00:50,460 to like maybe 10 perfectly fine and and forward rendering parts. 13 00:00:51,000 --> 00:00:54,420 OK, don't need occlusion culling, don't need HDR. 14 00:00:54,420 --> 00:00:55,260 We can switch that off. 15 00:00:55,260 --> 00:00:56,520 Don't need NSA. 16 00:00:57,090 --> 00:01:00,360 OK, but we don't even need an audio listener on this one. 17 00:01:00,690 --> 00:01:01,850 So I can write little more. 18 00:01:01,870 --> 00:01:03,780 But it's not going to be any audio on this. 19 00:01:04,410 --> 00:01:09,270 What we do need is a canvas, the UI canvas. 20 00:01:10,170 --> 00:01:18,240 And now I do want to make sure that they scale with screen size and that the resolution sets 12, 18 21 00:01:18,240 --> 00:01:19,230 by 720. 22 00:01:20,040 --> 00:01:23,700 OK, so 12, 18 by seven, 20. 23 00:01:26,070 --> 00:01:32,130 And I'm going to match the height of the mobile screen as opposed to the width. 24 00:01:34,550 --> 00:01:34,770 Yeah. 25 00:01:35,010 --> 00:01:36,390 Everything else is good. 26 00:01:36,690 --> 00:01:37,170 OK. 27 00:01:37,360 --> 00:01:46,710 So that simulator, so on the canvas and then the right click through UI and the new image in the mobile 28 00:01:46,710 --> 00:01:47,520 game resources. 29 00:01:47,520 --> 00:01:54,480 We've got a main menu image that looks just like this onto the source image and choose native size. 30 00:01:54,720 --> 00:01:55,110 OK. 31 00:01:55,400 --> 00:01:58,590 It doesn't need to be a rakas targets, only just a simple image. 32 00:01:59,610 --> 00:02:03,060 And and I'm just going to drag that a little bit. 33 00:02:05,860 --> 00:02:09,400 OK, so in fact, I call this Biji image, 34 00:02:12,280 --> 00:02:20,500 and then we do need a button, so right click UI and button this down. 35 00:02:22,920 --> 00:02:26,750 And just over to the left a little bit. 36 00:02:27,470 --> 00:02:31,100 So this one is going to be our play button. 37 00:02:31,220 --> 00:02:36,050 So let's just so I play here. 38 00:02:36,500 --> 00:02:40,130 And in terms of this button, I might actually just leave that way. 39 00:02:40,160 --> 00:02:41,180 That's perfectly fine. 40 00:02:41,360 --> 00:02:44,210 OK, if you want to customize that, obviously you can do. 41 00:02:44,420 --> 00:02:46,040 Make sure you customize these colors. 42 00:02:46,400 --> 00:02:50,990 If you customize this one, it would be overwritten by this color unless you change the transition to 43 00:02:50,990 --> 00:02:51,530 NUND. 44 00:02:51,730 --> 00:02:56,810 And it will just become a static one color button that doesn't interact when you press it. 45 00:02:58,130 --> 00:03:00,410 But you can still do the on click. 46 00:03:00,740 --> 00:03:03,350 OK, so I'll call this play button. 47 00:03:07,300 --> 00:03:12,430 Then when a duplicate that control the this one over on the X. 48 00:03:15,110 --> 00:03:22,250 I love this one as a quit button so that you can quit going back to your mobile. 49 00:03:22,700 --> 00:03:24,950 Uh oh, wait a second. 50 00:03:25,280 --> 00:03:30,200 Wrong that it shouldn't be here. 51 00:03:31,820 --> 00:03:36,080 Quit and just call this quit button. 52 00:03:44,050 --> 00:03:44,500 OK. 53 00:03:44,560 --> 00:03:45,130 Excellent. 54 00:03:45,800 --> 00:03:52,330 So I'll just save this and I'll save it into the my scenes and I'll call this main menu. 55 00:03:56,540 --> 00:04:00,200 I do need a new script just for the main menu. 56 00:04:00,350 --> 00:04:02,570 Notice, I only really have three scripts. 57 00:04:02,990 --> 00:04:08,990 This afps counter is only for testing purposes when we finalize the game will take that script out of 58 00:04:08,990 --> 00:04:09,200 there. 59 00:04:09,880 --> 00:04:15,830 So the moment I got three scripts and we have to create a new one, however, create seashell script. 60 00:04:16,160 --> 00:04:19,250 Some people list the menu to be a really small script. 61 00:04:19,550 --> 00:04:22,880 Only if it gets called on the menu scene anyway. 62 00:04:25,370 --> 00:04:34,310 OK, we'll need to load the scenes and say using unity engine scene management. 63 00:04:34,500 --> 00:04:35,810 So I get access to that. 64 00:04:36,650 --> 00:04:38,230 I don't need to start doing it. 65 00:04:38,240 --> 00:04:38,960 An update. 66 00:04:39,950 --> 00:04:43,310 This is simply going to be whenever you press a certain button. 67 00:04:43,880 --> 00:04:47,950 So we're going to say public void is custom function. 68 00:04:47,960 --> 00:04:50,360 I will simply call play game. 69 00:04:55,050 --> 00:04:58,680 If you click the button, we're going to say scene manager. 70 00:05:00,000 --> 00:05:05,790 Well, Lozzi, the scene is going to be number one this time. 71 00:05:06,380 --> 00:05:08,340 So main menu is going to sit zero. 72 00:05:09,120 --> 00:05:15,990 And then if we click the quit button to public void quit game. 73 00:05:19,810 --> 00:05:25,300 This one is an application command application to quit. 74 00:05:26,970 --> 00:05:33,660 OK, not well, then quit out of the application and return you back to your phone's operating system, 75 00:05:35,670 --> 00:05:40,200 that will only work when you export the game inside of you in the tea, obviously that Putin won't do 76 00:05:40,200 --> 00:05:42,060 very much inside of the editor. 77 00:05:42,870 --> 00:05:43,860 OK, so. 78 00:05:47,200 --> 00:05:52,570 Let's now attach this menu to the canvas. 79 00:05:54,750 --> 00:05:55,120 Great. 80 00:05:55,800 --> 00:06:01,470 I need to go to my file, save file, build settings. 81 00:06:01,980 --> 00:06:03,580 Look at open scenes. 82 00:06:03,600 --> 00:06:08,220 My main menu, and just click and drag that one to both the main scenes and our main menu. 83 00:06:08,550 --> 00:06:10,180 Zero main scenes. 84 00:06:11,430 --> 00:06:11,760 All right. 85 00:06:11,790 --> 00:06:12,450 Very important. 86 00:06:13,350 --> 00:06:14,670 Now my play button. 87 00:06:15,720 --> 00:06:17,370 Click the plus on the on click. 88 00:06:17,730 --> 00:06:20,010 Take my canvas and drag that into that. 89 00:06:20,910 --> 00:06:24,390 And then from the manuscript script can simply say play game. 90 00:06:25,860 --> 00:06:27,570 Same thing with the quote we just clicked. 91 00:06:27,570 --> 00:06:33,870 Plus the canvas into the choose menu and quick game. 92 00:06:34,800 --> 00:06:35,130 All right. 93 00:06:35,160 --> 00:06:35,610 Excellent. 94 00:06:35,970 --> 00:06:36,480 Sorted. 95 00:06:37,200 --> 00:06:41,190 So let's just save that and give it a test. 96 00:06:44,260 --> 00:06:48,160 You we go and play and we go on them into the game. 97 00:06:48,460 --> 00:06:49,090 Excellent. 98 00:06:50,210 --> 00:07:00,130 So now, in fact, actually, I think in the next game we'll until the actual game over stuff and get 99 00:07:00,130 --> 00:07:02,170 it back to return back to the main menu. 8282

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.