Why are there so many broken things with mobile? For instance, the gyroscope doesn’t seem to work anymore. It just returns default values. Also, TouchEnded doesn’t ever fire, which is incredibly painful. I can’t create a simple control interface based on when the player is touching the screen because there’s no way to indicate whether or not the touch has ended anymore.
Is there a reason this is so broken? Is this the same on iOS? I was excited to add mobile support for one of my games until I discovered so many issues with it.
TouchPan didn’t work at all as of as few months ago on Android, but it was fine on iOS. I don’t know whether this is currently the case.
@Trioxide Yeah, it’s so that crappy phones can get reasonable framerates. We had this discussion a month or two ago; an admin mentioned that they would be eventually bumping up the resolution depending on the hardware (I don’t think they had an ETA though).
iOS is immune from most of these issues, presumably because it runs in a more constrained environment than Android.
It’s very uniform, so it’s easy to adapt to. When you develop Android applications it’s often in a very broad sense. Games are especially hard hit with performance on Android for this reason. Multi platform optimization is hard.
Gyroscope seems to work on a Note 3 for me, what device are you trying on? Is it possible it doesn’t have a gyroscope? I’m still testing the other issues, but I’ll report back. Try this place: gyro test - Roblox. Make sure you press the button, and then you should see the camera rotate depending on your gyroscope orientation. There is also this place for accelerometer testing: accelerometer test - Roblox
I also don’t see a problem with touch ended (testing on a nexus 9 now)… this place should make a message object in the workspace when touch ended is fired: Game pass test - Roblox. The place is also uncopylocked if you want to see the code.
I have a Droid Turbo (Android 5.1). It does have a gyroscope and I’ve used it before with ROBLOX’s mobile API just fine. And it looks like I do have the latest version of the app.
could you try my gyro test place? It’s pretty simple and if that isn’t working then something is for sure wrong with the way we handle gyro, at least for some devices.
As of today (the app updated for me today), everything is working now. The Gyro is working and TouchEnded is firing. Not sure what you guys changed, but it seemed to fix the issue for me on my device.