Android UI customization (Commission)

Aerisetta

Active member
Hi

I would like to change the button placement of the OpenBOR android client to better fit the needs of my game. I understand this is probably a big undertaking, and would be happy to pay for this. If anyone is willing to help me with this, pls let me know.

Scope of request
Add a few buttons (which exist in engine already, but not in mobile)
Rearrange some buttons locations
Resize some buttons
Does not need to work well with other games, just for my game.

Thanks
 
Hi

I would like to change the button placement of the OpenBOR android client to better fit the needs of my game. I understand this is probably a big undertaking, and would be happy to pay for this. If anyone is willing to help me with this, pls let me know.

Scope of request
Add a few buttons (which exist in engine already, but not in mobile)
Rearrange some buttons locations
Resize some buttons
Does not need to work well with other games, just for my game.

Thanks

Unless I'm mistaken this feature already exists. I'll tag @msmalik681 and he can say for sure.

If not, your best best is to hold off for the next release. It really isn't far off. @Kratus and I have really pushed hard, I mean HARD for a release in the next few weeks. Once we do that, I'm taking the engine back to a model of incremental updates, so there's a good chance you could get this added sooner than later.

DC
 
Utunnels made a way for users to add custom buttons and layout for your mod @bWWd is the only user i know of that has made use of that feature he could better instruct on how to use this feature.
 
@Aerisetta

The SOR2X game uses custom buttons in Android, the files are in the following path in case you want to take a look:
"data/scripts/keyall/"

The related files are all that have "touch" in its name:
1675456113907.png

Here's a demo showing how it works:

EDIT: Below I posted a touch.txt config file with some comments:

1675456743138.png

In short, all you need to do is to put the content from the image above in a txt file named "touch.txt", and then paste in two paths:
"Saves/touch.txt"
"Saves/bor/touch.txt"

However, by default it needs to be made manually by the user in the Android mobile device. The automatization process used on SOR2X is made by some scripts I developed using "filestreams" that exports the layouts in case the touch files are not found in the proper folder (the script is inside the "main_touch.c" file).

Thanks to @pudu for sending me some examples about the native engine "touch" feature a long time ago.
 
Last edited:
Back
Top Bottom