The X Tech: SMBX Touch controls are not working.

Need help with any SMBX game-related issues? Ask your questions here.
George7UP
Shy Guy
Shy Guy
Posts: 6
Joined: Fri Nov 05, 2021 9:52 am
Pronouns: they

The X Tech: SMBX Touch controls are not working.

Postby George7UP » Sat Nov 06, 2021 1:08 am

I wanted to download SMBX port on POCO X3 PRO (Android) and virtual controls are not working. I can just touch menu buttons. Please Help.

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: The X Tech: SMBX Touch controls are not working.

Postby Wohlstand » Sat Nov 06, 2021 9:34 am

Question: Were virtual controls even drawn on the screen? If they didn't show, please open the "Settings" menu at the launcher and find the controller settings, set the touchscreen controller mode into "Always enable" (there is a logic that will disable it when the hardware keyboard is plugged, but the detection of that isn't clear by API, so, I left the option to manually control that). Also, the touchscreen controller can be shown/hidden at the left-top icon tap.

P.S. If you downloaded the APK in few minutes after I released the 1.3.5.2, please re-download, there was a major bug that caused the touchscreen controller to be worked, but not drawn, I released a hot-fix to resolve this issue.

George7UP
Shy Guy
Shy Guy
Posts: 6
Joined: Fri Nov 05, 2021 9:52 am
Pronouns: they

Re: The X Tech: SMBX Touch controls are not working.

Postby George7UP » Sun Nov 07, 2021 4:00 am

I have tried to set this mode. I already had a touch buttons, but they aren't working (i can't move character, move map, etc.). Could be this problem with MIUI Global ROM? If yes, please adapt this port to Xiaomi/POCO phones.

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: The X Tech: SMBX Touch controls are not working.

Postby Wohlstand » Sun Nov 07, 2021 4:13 am

George7UP wrote:
Sun Nov 07, 2021 4:00 am
I have tried to set this mode. I already had a touch buttons, but they aren't working (i can't move character, move map, etc.). Could be this problem with MIUI Global ROM? If yes, please adapt this port to Xiaomi/POCO phones.
That shouldn't matter, but for your luck, my mom has Xiaomi Redmi 7 phone with MIUI installed, so, I'll try to test the game on it. Btw, what Android version you do run? My mom's is 9.

George7UP
Shy Guy
Shy Guy
Posts: 6
Joined: Fri Nov 05, 2021 9:52 am
Pronouns: they

Re: The X Tech: SMBX Touch controls are not working.

Postby George7UP » Sun Nov 07, 2021 4:23 am

I'm running Android 11

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: The X Tech: SMBX Touch controls are not working.

Postby Wohlstand » Sun Nov 07, 2021 4:55 am

George7UP wrote:
Sun Nov 07, 2021 4:23 am
I'm running Android 11
Hmm... I should ask Chinese folks, they do have Redmi devices with Android 11...

George7UP
Shy Guy
Shy Guy
Posts: 6
Joined: Fri Nov 05, 2021 9:52 am
Pronouns: they

Re: The X Tech: SMBX Touch controls are not working.

Postby George7UP » Sun Nov 07, 2021 5:10 am

Screenshot is here.
P. S. Controls are shown but not working.
Image

Added in 38 minutes 8 seconds:
In addition, i'm from Russia

Added in 2 hours 50 minutes 3 seconds:
Maybe, i choosed incorrect content pack, what content pack i should choose for Android?

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: The X Tech: SMBX Touch controls are not working.

Postby Wohlstand » Sun Nov 07, 2021 1:53 pm

George7UP wrote:
Sun Nov 07, 2021 8:38 am
Maybe, i choosed incorrect content pack, what content pack i should choose for Android?
Bugs of engine absolutely don't matter to the content pack. I do have another question: where the cursor appears on the screen when you touch it? I mean, is there accurate positioning, or cursor got offset relative to your finger?

Added in 1 minute 37 seconds:
George7UP wrote:
Sun Nov 07, 2021 8:38 am
In addition, i'm from Russia
More fellow countrymen here :)

Added in 2 minutes 17 seconds:
P.S. If you found that offset happens, At Android's developer settings try to enable displaying finger touches (they will be shown as white dots) and try to make a screenshot while the finger is on screen, to see the offset between the finger and the in-game cursor

George7UP
Shy Guy
Shy Guy
Posts: 6
Joined: Fri Nov 05, 2021 9:52 am
Pronouns: they

Re: The X Tech: SMBX Touch controls are not working.

Postby George7UP » Sun Nov 07, 2021 7:56 pm

Cursor get accurate positioning

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: The X Tech: SMBX Touch controls are not working.

Postby Wohlstand » Sun Nov 07, 2021 8:04 pm

George7UP wrote:
Sun Nov 07, 2021 7:56 pm
Cursor get accurate positioning
Then, that's a mystery, because the touchscreen controllers were handled by the same touch events as the mouse. However wait, nope, "mouse" proceeded by the same mouse code as used for desktop, and the touchscreen uses the touch logic. Okay, as the fact touchscreen controller got shown, the touchscreen definitely detected. Now I have another question: does your phone has more sensor surfaces than the main screen? I do think, there is a possible issue caused by recognizing the wrong touchpad as a controller source, and that confuses you. My thing tries to detect that touch device that was actually used the first time after the game launch.

Added in 10 hours 25 minutes 25 seconds:
P.S. Yesterday I ran the game at my mom's Redmi 7 with MIUI 11 (Android 9), and the game worked perfectly

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: The X Tech: SMBX Touch controls are not working.

Postby Wohlstand » Wed Dec 15, 2021 9:36 pm

Recently I upgraded the SDL2 library, so, I hope they fixed something at the backend. Please re-download the latest dev version ("master" branch) and try the game again.

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: The X Tech: SMBX Touch controls are not working.

Postby Wohlstand » Tue Feb 08, 2022 4:18 am

Hello!

There was done some later investigation https://github.com/libsdl-org/SDL/issues/5322, and together with another folk, we resolved the problem. Could you try to download an updated devel version of the game and try it again? (devel builds were are here: https://github.com/Wohlstand/TheXTech/w ... vel-builds)

Wohlstand
Van De Graf
Van De Graf
Posts: 2005
Joined: Tue Feb 11, 2014 4:44 pm
Flair: [ˈvoːlˌʃtant], 狐エンジニア
Pronouns: he/him
Contact:

Re: The X Tech: SMBX Touch controls are not working.

Postby Wohlstand » Fri Nov 04, 2022 10:00 pm

Just the last thing: the latest version which contains this fix has been released a while ago.

George7UP
Shy Guy
Shy Guy
Posts: 6
Joined: Fri Nov 05, 2021 9:52 am
Pronouns: they

Re: The X Tech: SMBX Touch controls are not working.

Postby George7UP » Mon Mar 20, 2023 9:33 am

Thanks a lot. Sorry for VERY LATE answer:-)


Return to “Help and Support”

Who is online

Users browsing this forum: No registered users and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari