How to add mobile support to my game?

hi, right now
im making a game like slap battles/ability wars. all of the abilities are tools. inside each tool is an ability local script, and a script inside that to do the server sided functions. all of those scripts use UserInputService. my friends that play the game are begging for mobile support. ik ill have to make mobile buttons, but idk what else to do. pls help me

1 Like

You should add the following :

  • Mobile Buttons
  • Response UI (using aspect ratios and size instead of offset)
  • and that should be all? maybe make the gameplay suitable for mobile players too
1 Like

whats response ui

jehrifjwbirhtbdiwbejifnwi

I meant responsive UI, to make that you gotta use a couple plugins like UITools, AutoScale, etc…

  1. You should add Buttons for each ability. They should only show up if you are on mobile. Personally, I use ContextActionService, this automatically adds buttons for each input (Only if you add this input) if you are on mobile. (Maybe UserInputService does that too, I don’t know). If the mobile player presses the Button, it calls the ability. Or you could add your own gui.
  2. Make All Buttons the right size for mobile.

Maybe there’s more, but these are the only I know.

1 Like