Do you think mobile compatibility possible on my game?

Hello developers,

I’m writing today to ask if you think it would be possible to make my game mobile-compatible as I want to make it available on every device,

If it is possible, How would i go about doing it?

https://www.roblox.com/games/4039996001/Projectile-Zone?refPageId=ea0ba5e9-9d2c-48f1-981d-c2f202485839
(Game is console compatible, feel free to play it on console too if you want)

It depends on how it currently works. Does it use a Local Script to control the grabbing?

Yes, it does, the grabbing is handled locally when the player is given network ownership on the server

Do you currently use UserInputService?

Yes i do, i check for either R2 or mouseclick (for example)

I’d recommend using InputBegan then. With InputBegan you can decipher from which Device is being used and which button was used for PC, Mobile Devices and even XBOX.

That is what im currently using, I just want to know if it’d work with mobiles because you would have to tap on the item, drag the screen while trying to move then throwing the item wouldn’t be possible so im asking to see if there’s a work-around

Enum.UserInputType.Touch should work fine. Might need to put in an InputEnded if you haven’t already though.

.

I already have the code in place, Again, im just asking if it’s possible for example:

On PC: You use left click to grab, right click to throw and you’re able to move still
On mobile: To grab you can only Touch and hold the item and then moving is proven difficult on mobile, Throwing is impossible too in this scenario as there’s no “Right click” on Mobile

Is there a way I could make it happen though like maybe adding a gui for mobile users and how would it actually work?

OH, I thought the question was about Hold. For throwing maybe a double tap could replace it, but a GUI button to throw straight would definitely work. Or possibly a GUI button that’ll switch from throwing and grabbing (toggle)

1 Like

Ahh I haven’t thought of a toggle button, i’ll give it a shot and see what comes of it, Thank you!

Cool! I’d love to see what it looks like in the end!

1 Like

I’ve added mobile compatibility and i couldn’t be more content with the method you’ve provided, Thank you again for the idea!