How do I make gamepad that works on mobile?

Get help using Construct 2

Post » Fri Jun 30, 2017 5:23 pm

https://www.scirra.com/manual/143/gamepad

The gamepad plugin states that it only works on PC, I know that html5 has some gamepad set up of its own through javascript. Should I implement it that way to get it to work on mobile? Will it work on Tizen?(Granted if they already have bluetooth controllers).

Thanks in advance for the help. On gamesalad, an engine I made my last game on, they had gamepad support that extended to android/iOS, but not HTML5.
B
16
S
6
G
1
Posts: 48
Reputation: 1,837

Post » Tue Jul 04, 2017 10:14 pm

Add the touch element as well...
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
32
S
15
G
3
Posts: 356
Reputation: 5,269

Post » Thu Jul 06, 2017 3:14 pm

I am confused by the answer. : / Do you mean the touch element contains something that would help with the bluetooth controller?

My game would play really well with a gamepad of some sort, wether on mobile or PC.(This screenshot is glitched, only suppose to be 5 enemies at a time usually).
Image
B
16
S
6
G
1
Posts: 48
Reputation: 1,837

Post » Sat Jul 08, 2017 5:45 am

So you're not wanting to add control to your directional pad by touch for your mobile version?
Check out my latest game RAPID-TAPIT. Get your Fingercise on with this one. A steady Tap is all you need to score points. Lift a finger and see what you can do...

Image

ALLMarkMade Designs
B
32
S
15
G
3
Posts: 356
Reputation: 5,269

Post » Sat Jul 08, 2017 3:11 pm

@ALLMarkMade I mean this kind of controller, since I already have touch controls in the game.
https://www.amazon.com/s/ref=nb_sb_noss ... controller

I own a Moga controller and a third party bluetooth controller for testing on Android devices. So I want to see if there is a way to set up controls for not only native, but HTML5 via bluetooth on mobile, since the gamepad object, from what I understand, only works on PC controllers.

The last engine I used, Game Salad, has it working out of the box(for both native mobile, and PC) but not for html5 since the control system is drastically different.
B
16
S
6
G
1
Posts: 48
Reputation: 1,837


Return to How do I....?

Who is online

Users browsing this forum: stevenode, tarek2 and 9 guests