Mobile very broken (Android)

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.

8 Likes

Adding to @Crazyman32’s post, is it normal for Android phones to render the game in 480p?

I’m using LG G3, Android 6.0, 1440p screen.

2 Likes

Yes, also a lot of strange things going on like that

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.

1 Like

Resolution issue happens on Note 4 too

1 Like

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.

Also could you make sure you have the latest version of android?

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.

Does said game rely on a Gyroscope? For example, my current phone (a backup one) does not have one.

No, it relies on left/right controls. I wanted the user to touch the left side of the screen to turn left, and the right side to turn right.

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.

1 Like

… I’ll take it

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.