Answer the question
In order to leave comments, you need to log in
How to optimize 2D games?
2D Platformer game, are there any standard optimizations in Unity3d? Well, in order to reduce lags a little, increase fps?
Answer the question
In order to leave comments, you need to log in
Yes, there is, open the profiler and meditate. Look at the percent, which scripts eat a lot, optimize. Look at the number of drawers, optimize. Every game has its own bottlenecks, and there is a set of tricks to eliminate them, but everything always starts with finding them. For example, you know that you have many of the same enemies on the screen, and the profiler shows that they are all drawn one by one. Then read about batching and fix it. And further in the same spirit.
Useful reading:
docs.unity3d.com/Manual/Profiler.html
docs.unity3d.com/Manual/OptimizingGraphicsPerforma...
https://habrahabr.ru/post/169451/
https://habrahabr.ru/company/intel/ blog/254353/
www.gameprogrammingpatterns.com/optimization-patte...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question