how many touch controls on smartphones / tablets ?

Started by RemiD, March 31, 2023, 10:39:00

Previous topic - Next topic

RemiD

hi  :)

from the games that i have played so far, on smartphones / tablets, it is possible to have 2 touch inputs at the same time, (2 thumbs), for example one input to turn / move, and one input for an action, but is it possible to have more than 2 inputs ?
or maybe is it possible to have 1 input touch 2 buttons (on the screen)

i am going to use blitz3d to make my game prototype, and use a combination of several keyboard keys... then try to reproduce these inputs / controls on a smartphone...

Derron

Yes... think at least 5 point touch devices are "usual" for years now.

Simply use one of these touch device tester which add "points" on the screen for each registered point.

Edit: 2 Points touch are minimum - else you would not be able to "zoom" in pictures etc.


bye
Ron

angros47

It is possible to have as many input control as one wants. I have made an app that uses them: https://angros47.github.io/OpenB3D-PWA/

Source code is here: https://github.com/angros47/OpenB3D-PWA

The "joystick" code comes from here: https://github.com/bobboteck/JoyStick , and, as you can see in this demo (http://bobboteck.github.io/joy/joy.html ) it is absolutely possible to have more than two controllers on the screen at the same time.

If you look at my demo, you can see how that control can be used with OpenB3D (and since porting code from Blitz3D to OpenB3D should not be too difficult, your plan sounds perfectly feasible)

RemiD