Why is my Mobile UI Based game so slow?
The game is very simple, and is done entirely in the UI, using VERY basic sprites, and the gameplay is simple as well. Its a puzzle game that involves sliding pieces around, like Candy Crush or 2048.
Mobile Preview is fine, but when I launch it on my phone, it is incredibly slow, and not functioning properly.
All of the other answers on how to optimize mobile games involve rendering graphics, lighting, shaders, etc. How is my simple game lagging so much?
In case you're wondering, I built it in the UI because I needed the uniform grid, as the dimensions of the board can change, so I needed its auto size feature.
asked Apr 01 '17 at 06:03 AM in Packaging & Deployment
If you have variables being shown on screen as text, like how many points you have and such. Every such output of text is using Tick unless built using events and fired only when needed. Documentation on this As for ui textures and sprites, every additional texture added to ui, adds draw call. Mobile devices can have hard time dealing with lots of draw calls. You should try combining ui textures in one or more sprite atlases. That way for one sprite atlas, you get only one draw calll, but atlas can hold many sprites. You would need to do a search on this, as I don't really know how atlas thing is being done. You can start by looking into Paper 2D plugin documentation.
answered Apr 01 '17 at 07:04 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here