Mobile is a great device to design for as about half the players on Roblox play from a mobile so it is important to optimise your game so they get the best experience. Mobiles are less powerful than most pc and xbox ect so you need to make sure when players play your game they don’t experience a lot of lag.
-
Fist of all you need to scale your UI correctly as stated in the post above. This will make your game look more professional and more tidy on mobile.
-
The biggest thing is fighting lag. Try to optimise your builds as best as you can so that they have the best performance. This could be as simple as making a building a mech instead of a union or it could be putting filtering enabled on. Here is a tutorial about optimising your builds: Building Optimisation | Tips and tricks!
-
With scripting you need to try and optimise your code as best you can so that players don’t lag as much. There is so many ways you could optimise your code so I wont say them all. First off, lets say you want to move an object you may think lets use a for i loop or a while loop. When really these cause a lot more lag than if you tweened the object. In short only use loops when you need to use them. When you use Instance.new try and be careful when you parent the object as that should be the last thing you do. This is a thread explaining this issue far better than I can: PSA: Don't use Instance.new() with parent argument. This tutorial may help you a little bit with optimisations when scripting as well: https://devforum.roblox.com/t/the-art-of-micro-optimizing/226753.