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
Malayalam
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
And this video, we're going to take a look at frames per second.
If we move back over to our game and we switch on our stats, you've actually got the FPS right here.
So it's actually showing you in terms of graphics.
How many frames per second you'll get.
So if I press play at bear in mind in the game, I won't be able to interact with this item.
So if I click and drag on it.
Oh, actually, I can.
Which is interesting, OK.
And I'm getting roughly about 500 frames per second, 400, something like that.
And that's because I'm running on the PC.
Now, if I were to export this now, put it onto a mobile phone, it's going to run around 30 frames
per second, maybe less on some phones.
But I think there's hardly anything at the moment.
So I should imagine it's going to get at least 30 frames per second.
But by default, your phone actually limits your frames per second to 30.
OK.
There is a way to override that.
We can have a target frame rate and get it to run faster than its default so we can get it to run about
60 frames per second instead.
I suppose the mobile phones try and limit it to about 30 frames per second.
So it's not overloading the CPU or the graphics card.
So it doesn't get to point.
All right.
And by going above that 60 feet per second, there is always, you know, the situation whereby the
phone could get really hot.
And he used to call itself down.
So it starts to limit your frames per second.
That's usually when you start to see that dip, when it goes down to like ten frames per second.
Eight five two is simply because the phones to what it's trying to call itself down.
So that's the reason why it's limiting that.
But what we're going to do, we're going to go back into our main, you know, start we're actually
going to set our own frames per second.
So we're going to type application dart set.
Oh, actually, no, sorry, it's not set its target frame rate.
OK, and then I can make that equal sixty.
You can actually set up to anything you want if you want.
It's a thousand frames per second.
You can do that.
I probably would never try that with mobile, to be honest.
If you try and get it to run around the thousand frames per second.
It's pretty good chance it's going to heat up and just instantly kill your frames per second and down
one or two, almost immediately, 60 frames per second is achievable.
Most mobile devices.
So if I press save now and then.
Switch my stats back on and press play.
You will notice these should now come out at about 60.
There we go.
Fifty nine.
It's getting as close as it can to 60.
It's not going above that.
All right.
And now I do have a script.
If I go into assets and into the mobile game resources.
We've got an FPS counter just going to drag this onto the canvas.
This script came directly from the standard assets.
And it's there in order to basically display your frames per second on screen.
Now, I can go back to my simulator, and when I press play in the top left hand corner, you should
see it now display new frames per second.
It's got straight up to 60.
And because this is running by script, it's actually more reliable than the stats element.
It also means that when we're on mobile, we can display enough frames per second as we're playing through
this.
OK, but at the moment, you can see how Metzner constant 60 frames per second.
All we're interested in is mobile, is that we stay above 30 frames per second, if possible.
60 is going to help us to achieve that.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.