Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by iiley · Oct 24, 2012 at 11:44 AM · iosfpsframe rate

Why target frame rate either 60 or 30, how about 50?

We are making a iOS game, it is an action game so we want to get a higher FPS, but now we can hardly to get 60 fps, to keep the graphics quality, we should can get 50 fps, so here is the question, we can see games with frame rate 30, or 60, but there is no 40, 50 etc. For traditional screen monitor, i know it is because the frame rate of the monitor, but for iPad/iPhone, is it the same? Can i just targeting constant 50 fps? If i do, is there any bad issue will come out? Thanks very much!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by Eric5h5 · Oct 25, 2012 at 06:59 AM

iOS devices are always vsynced, so your choices are 30 or 60. (Or 15, but that's kinda low.)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image iiley · Oct 25, 2012 at 12:48 PM 0
Share

Thank you for point out the vsync stuff, it make sense, i will take a research about it.

avatar image
1

Answer by SolidSnake · Oct 24, 2012 at 11:52 AM

Application.targetFrameRate = 50;

I dont think this will have an issue... its simply asking the application not to render more than 50 FPS (if it can reach 50 FPS)..

most iOS devices can support max of 60 FPS but it really depends on what you are rendering and running in your game.

==EDIT== As Eric pointed out.. vsync in iOS is always active so we can only target frame rate can only be (15, 30 and 60)

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image iiley · Oct 25, 2012 at 05:54 AM 0
Share

Thanks SolidSnake, yes i guess so too, but just don't know the theory or FPS choosing.

avatar image Eric5h5 · Oct 25, 2012 at 07:02 AM 0
Share

It doesn't work that way when you have vsync on, which you always do on iOS devices.

avatar image SolidSnake · Oct 25, 2012 at 07:18 AM 0
Share

I totally forgot about the vsync in iOS.. Thanks for pointing this.

avatar image SolidSnake · Oct 25, 2012 at 07:47 AM 0
Share

interestingly though when i try to do target frame of 50 and i print out the frame rate it shows 50 (tested on iPhone 4S)

avatar image
1

Answer by SarperS · Oct 25, 2012 at 05:59 AM

Only downside would be, you will drain the battery of the device faster because you are capping the framerate at a higher value which let's the device to render more frames in a second which equals more processing power and less battery life.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

12 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is it possible to seperate render and input frame rate (iOS) 0 Answers

Counting iphone FPS 0 Answers

Why do newer versions of Unity have problems with framerate never exceeding refresh rate despite vsync settings being turned off? 0 Answers

if I lock iPhone fps to 24fps, can I get more accurate touch timings than that? 3 Answers

I want to have FPS iOS tutorials. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges