Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
Now we're almost ready to export the game.
In fact, at this point in time, I would actually recommend that you do a file, build settings and
actually build what you've got, make sure you've got your main menu and your menu main scene in there
and actually build.
And then check on your mobile device.
Just make sure that you are it in roughly about 60 frames per second.
There may be some times where it just drop below that.
Just make sure it's not dropping below 30 frames per second too often, you know, and definitely make
sure that your phone's not locking up because the process is getting to act.
Just make sure that it's running.
All right.
And if it's not running, all right and you are getting really, really low frame rates, chances are
there's too much happening on the screen.
So then you have to start thinking about how do I slow things down?
OK, so then you've got to make a few decisions on our you actually change the script according to whatever
device you're using.
Now, I've already done that and they've already checked through the game as well.
And there were a couple of things that I found.
One of them was sometimes a true zombie and it wouldn't actually get destroyed, fallen to the ground
and then start floating toward the camera.
OK, which is not good.
All right.
Definitely want to destroy the zombie.
So I'm going to fix that in this video.
Also at that one time with a bat as well.
So I'm going to show you how to fix that issue.
Another issue I found was that when I was reloading the gun, it's just taking far too long.
Animes is still coming toward you really, really quickly and later levels.
And it just felt a little bit unfair.
OK, like I was dying simply because I had to reload.
So I'm going to fix that issue as well.
OK, so on the ground, I'm just going to open the main script and the first thing.
And we need to come down to the shooting and the zombie death and change these times to less than one
second.
So zero point six, the zombie in the ground, zero point five for the bat.
OK.
And the reason why I'm doing that, the times, which is far too long.
OK, that's the reason why sometimes zombies would just float along the ground because they weren't
getting destroyed.
It's technically waiting too long before it destroys the characters.
And by that time, you've already shot a different character and it's lost its link to that particular
character.
So it doesn't know to destroy it.
So that should fix the issue.
OK.
Then the next issue that we've got was the reloading.
OK, so if we take a look at player arms, OK, and arms angle, go into the animator and now reload
out of ammo.
The animation speed is just too slow.
So so I'm going to speed this up.
I'm going to double the speed.
It's a lot faster.
Now, I also need to do that in the script.
So at the moment where I've got my reloading, we're pausing for three seconds.
All right.
So I'm going to halve that.
So one point five seconds.
And that's going to be so much faster now either.
We do have a reload pause elsewhere as well.
When we come down to the bottom, we're actually loading our enemies we use in this reload pause.
OK, so now everything's going to be twice as fast.
So I'm going to create a new weight for seconds called low pause.
And I'm just copy paste it into here.
Don't worry about the red line simply because it doesn't exist yet.
I'll write it in a second and just put this into the OK.
So now if we scroll back up to the top where we have all switching on, enemies will simply create a
new wait for seconds.
So wait for seconds.
I will call it load pause.
You expelled exactly the same as the one below equals new.
Wait.
Four seconds.
Here we go.
And it's going to be back to the original three seconds, because that's pretty good for loading the
enemies.
OK.
OK.
I've spelt pause from there.
And let me put you there.
It's a good thing to check that.
OK.
Just going to say that.
And that should now fixed all of our issues.
Also want to double check that.
The sounds are working OK as well.
So I'm just going to go back to game, switch off my mute audio so I can hear it.
And let's test this now.
So first thing, I just want to shoot a zombie, make sure we have all these.
Oh, OK.
I've actually destroyed the ground there, which is interesting.
So if I click on ground, we can see that it's got a mesh collider, OK?
And it's on the layer of default.
Right.
So let's.
Let's make this let's add a new layer, let's just call it ground and back to the ground.
And I'm going to put it on there.
So the reason why not this object?
Only the reason why the object disappeared.
The ground object is because it was on the default layer.
I was shooting, thought it was an enemy, and so it knew how to destroy it.
OK, so now, no matter how many times I shoot the ground, it shouldn't affect it.
OK, but let's just double check to make sure.
Right.
OK, great.
So the ground doesn't get destroyed now, so it's a good thing just to check, to do any kind of book,
check in, make sure everything's working all right.
Basically, try and break the game.
Fact, something like these walls, for example, just make sure that the walls don't colliders on them,
which they don't.
If they do, you could technically shoot them.
It's only a default and it will disappear.
All right.
Same thing with these objects, if any of them of colliders, they don't at the moment, and they're
only a default.
You could shoot them and recognize them as an enemy, sort of, and it would destroy it.
The reason why on the damage, it's basically doing an on trigger enter collider other and then right
at the bottom is of the game watchit so that it defaults doesn't need to compare a tag when it destroys
an object.
Only for one in the specific code.
OK, so I think we're almost ready.
So in the next video, we'll go over actually exporting this for Android.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.