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 13, 2014 at 06:22 PM by Kiwasi for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by Alanimator · Jan 06, 2013 at 03:51 AM · process

Make game run faster . how ??

i have a game which is 800 > mb after building

but when i ply the game it moves soo slow , is there a way to make the levels process faster .

Comment
Add comment · Show 7
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 bruce965 · Jan 06, 2013 at 08:20 AM 0
Share

http://docs.unity3d.com/Documentation/Components/class-Time$$anonymous$$anager.html $$anonymous$$aybe the answer is easier than what we thought... Look for "Time Scale".

avatar image Alanimator · Jan 06, 2013 at 10:26 AM 0
Share

but Time Scale will only change the gameplay speed and not the actual processing speed . which means it may look nice and "fast-ish" on my computer but on a faster computer some other aspects will be too fast

avatar image bruce965 · Jan 06, 2013 at 10:46 AM 0
Share

Obviously there is no way to speedup code without optimizing or disabling, but he wrote "the game it moves soo slow", so maybe he just wanted to make it go faster, and not to higher FPS rate.

avatar image Alanimator · Jan 06, 2013 at 02:39 PM 0
Share

it moves slowly because of the excessive amount of verts and gameobjects in a level. changing the time scale to something faster would only cause more problems . so , deactivating the gameobjects and its children unitll the level loads is the best way to fix this , correct ?

avatar image bruce965 · Jan 06, 2013 at 02:43 PM 0
Share

$$anonymous$$aybe you are right, but still I think that the engine doesn't make the simulation "move soo slow", it does lower FPS ins$$anonymous$$d, but simulation time should stay about the same.

Show more comments

2 Replies

  • Sort: 
avatar image
4
Best Answer

Answer by RazorCut · Jan 06, 2013 at 04:07 AM

Unfortunately this is an extremely difficult question to answer because it could be a result of so many possible different things. A great starting point is here: http://docs.unity3d.com/Documentation/Manual/OptimizingGraphicsPerformance.html

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
avatar image
2

Answer by Owen-Reynolds · Jan 06, 2013 at 05:46 AM

Ideally, you'd have tested it as you went. At some point you'd see a large slowdown and more-or-less know that the thing you just did is causing the problem.

You can also do that in reverse. One at time (and maybe reset each when done) drop the texture sizes, drastically reduce number of enemies, turn off the AI, comment out OnTriggerEnter, .... . Sometimes it can help to do big things. Like make 0 enemies -- if it still runs slow, you know they aren't the problem, so won't waste time checking each enemy part.

Comment
Add comment · Show 5 · 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 Alanimator · Jan 06, 2013 at 10:30 AM 0
Share

and spawning when necessary ins$$anonymous$$d of leaving the gameobjects idle in the game . i sure did find out the problem .. it occurs in an area where i had written and placed a 16,000 line JavaScript but i cannot afford to change it so i will remove some game objects and spawn them when i need them

avatar image psychentist · May 11, 2013 at 02:13 AM 0
Share

$$anonymous$$aybe there's a more efficient way to do things than a 16000 line script. Why not try looking into arrays, for loops and callable functions?

avatar image gurinderhans · Oct 13, 2014 at 04:35 AM 0
Share

In my game I have objects falling down. Just simple color objects (no textures). However they dont fall very smoothly. Any way to fix this? Changing framerate somehow? Any other possibilites to make the object fall smoothly. Right now they aren't falling smoothly ( don't know how to explain exactly) its like the objects are skipping frames (this is what I mean! yes!). Not a lot of skipping but a little bit. It's for an android device. Running on Nexus 4 (not a phone that should worry about performance a lot) Any ideas? Thanks!

avatar image tanoshimi · Oct 13, 2014 at 06:32 AM 0
Share

@gurinderhans Please start a new question, and include more detail. Have you used Time.deltaTime to make your game framerate-independent?

avatar image gurinderhans · Oct 13, 2014 at 06:07 PM 0
Share

Here you go @tanoshimi -> http://answers.unity3d.com/questions/808511/i-want-to-make-my-2d-rigidbodies-move-smoother.html

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

Starting serproxy Process from Unity 0 Answers

Unable To Start Commandline Process on linux 0 Answers

What are the steps to making a video game? 0 Answers

something still runs in background when I close my webView 0 Answers

UnityPlayer quit is killing both itself and the Android app 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