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 /
This question was closed Oct 28, 2015 at 10:45 AM by Ali-hatem.
avatar image
0
Question by Ali-hatem · Oct 23, 2014 at 02:54 PM · screen sizes

game runs faster on bigger screen size?

hi, i have done almost everything but may game still running faster on bigger screen and i know its mater of screen size and not processor because i test small and big screen in unity in my computer so the same processor speed and frame rate is guaranteed and also testing in many android devices . note i have simple moving object and script attached to it and i used : Update function with and without deltatime. FixedUpdate function with and without deltatime. and i got the same result. so i'm i right that bigger screen size increases my game speed because then i can scale may variables depending on screens width .

Comment
Add comment · Show 6
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 smoggach · Oct 23, 2014 at 04:46 PM 0
Share

I'm pretty sure the screen size has nothing to do with it. Have you tried using the profiler to get a better idea of what's happening? http://docs.unity3d.com/$$anonymous$$anual/ProfilerWindow.html

avatar image fafase · Oct 23, 2014 at 04:56 PM 1
Share

If you are using drag to move the object, then you would have to normalize the movement since a half the screen may represent 300px or 500px and then the movement is proportionally bigger

avatar image Ali-hatem · Oct 23, 2014 at 09:23 PM 0
Share

//fafase , The angular drag applies to rotational movement but this is my script.

private float speed = 10f; void FixedUpdate() { rigidbody2d.velocity = new Vector2`(-speed,rigidbody2d.velocity.y); }

avatar image Ed unity · Oct 23, 2014 at 09:27 PM 1
Share

$$anonymous$$eep in $$anonymous$$d that CPU and GPU are two separate things. If you are using the same CPU and GPU for both resolutions, the larger resolution should in theory be slower due to the processing of more pixels on the screen. However, you have not posted any data to help justify your findings. How many ms is the GPU taking each frame? How many ms is the CPU taking each frame? What values are you using to deter$$anonymous$$e that the larger resolution is running faster?

avatar image Ali-hatem · Oct 24, 2014 at 10:45 AM 0
Share

hi Ed unity, i also saying to my self larger resolution should decrease the speed because of more pixels the object should cut but the opposite is happening , and i don't know about cpu & gpu ms, and finally i know its running faster because its clear to the eyes and i made Debug.Log(Time.time) when the object collide with something at the end of the screen and in small and bigger screen returns the same value that's mean in bigger screen the object is running faster so it can collide with the other object at the same time in small screen its logic .

Show more comments

1 Reply

  • Sort: 
avatar image
0

Answer by KayelGee · Oct 24, 2014 at 12:58 PM

The game speed is screen size independent. Unless you're doing some calculations with Screen.width or something along those lines, this will always be true.

The only thing that changes when you change the resolution is the camera view cone.

Comment
Add comment · Show 3 · 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 Ali-hatem · Oct 24, 2014 at 08:02 PM 0
Share

i don't use screen.width and i don't think camera view cone will change in bigger screen because the view port still the same without showing things are out of the screen in smaller screen unless using unequal aspect ratio but the things that changes is the objects getting bigger, and logically bigger screen size effect the object movement because of the extra pixels i mean in computer world if you want to move a picture by 1 value the picture moves by 1 pixel and in small screen if my object should move 4 pixels to collide with other object in doubled screen size will need 8 pixels and this should make the speed slower but the opposite is happening with me.

avatar image KayelGee · Oct 25, 2014 at 10:37 AM 0
Share

This would be correct if your would move in screen space. But you're moving your objects in world space which is independent from the screen size.

avatar image Ali-hatem · Oct 25, 2014 at 02:15 PM 0
Share

if i was wrong what is the solution what is the problem many said its deltatime but i used deltatime in Update & FixedUpdate and its the same. thanks ....

Follow this Question

Answers Answers and Comments

6 People are following this question.

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

Related Questions

Change play previw editor window size to match 1280x800 (android) 1 Answer

Different screens, fixed UI, dynamic map 0 Answers

variables not resetting when reloading scene 1 Answer

2d game for different screen resolutions 1 Answer

Chrome OS detection 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