As a Roblox developer, it is currently impossible to simulate the pinch gesture in mobile device emulation:
https://developer.roblox.com/en-us/api-reference/event/UserInputService/TouchPinch
Currently, the input above is only possible to test in a real mobile device.
If Roblox is able to address this issue, it would improve my development experience because this will lessen the work to test, in addition to allowing you to debug the code inside Studio.
27 Likes
If this feature would be implemented it would drastically speed up testing on mobile, currently I have to publish and join on mobile in order to test certain pinching mechanics which is very frustrating. Mind you I have a terribly old phone and Roblox runs very poorly on it so it is hard to evaluate certain mechanics without the help of someone else. Some developers may not even have a smart phone so I can imagine they’d have to install a mobile emulator in order to test pinching.
I suggest pinching to be replicated through holding CTRL and scrolling in/out, a small feature that saves such a significant amount of time.
2 Likes
Any updates regarding this feature? It is almost impossible for me to test certain mechanics of my game.
1 Like
We really need an update on the mobile emulation. I always get bugs related to mobile support simply because the emulator is not a good representation of what a mobile device would be like. I prepose these changes:
- WASD will cause mouse movements on the movement stick
- Space will cause mouse events on the jump button
- ESC will cause events on the escape menu button
-
Every other keyboard key will not work unless the onscreen keyboard is visible on mobile.
- LastInputType will always be mobile related, never PC related
These changes will allow you to move and click a mobile button at the same time. In the emulator, pressing WASD forces core scripts to believe your on computer, while using the mobile emulator.
3 Likes
Any update on this? There’s still no way to properly emulate mechanics on studio.
1 Like
The lack of a pinching simulation feature is causing immense frustration during mobile testing. It’s absurd that I have to publish the game and get on my phone just to evaluate basic pinching mechanics, and I can’t believe some developers might even need to resort to mobile emulators for this simple functionality.
1 Like
The grandiose act of publishing my game to the cloud, followed by the theatrical flourish of extracting my phone to engage in the riveting performance of deciphering the microscopic console for errors. An experience so exquisitely gratifying, particularly enchanting when executed on the charmingly minuscule 6 inch screens.It’s like a serene stroll through the gardens of insanity, each step a nuanced dance toward the abyss of my own unraveling.
Alright, no jokes here – we really need support for this feature. The current process I described is not just a drag, it’s downright wasteful and slow. With 80% of the player base now on mobile, there’s a clear need for a more mobile-focused support & games with slightly more intricate mechanics are particularly affected by the absence of this feature.
I swear I’m not kidding when I say my sanity is playing hide and seek, and it’s winning.
1 Like