5 replies [Last post]
msdos622wasfun
User offline. Last seen 9 weeks 3 days ago. Offline
Joined: 07/25/2016
Posts:

Hi again everyone,

Another question. I apologize if this has already been asked before; I searched around but couldn't find an answer.

If a user of mine has a non-Xbox-360 controller, will he/she still be able to control the game? With another brand of gamepad, like Logitech or something?

I have an Xbox 360 controller for my own use, and I kind of take it for granted that it just works.

I know there is support built into the engine for joystick control, but I don't know how that applies to this situation.

Thanks.

Tall John
Tall John's picture
User offline. Last seen 2 days 11 hours ago. Offline
Joined: 01/27/2011
Posts:
Xbox 360 controller only?

Hi msdos622wasfun,

The Shoot 'Em Up Kit supports DirectInput, which has wide support from joystick manufacturers over the past 15 years.

Selecting DirectInput Joystick in the Settings menu should allow a Logitech joystick to be used. The button mapping isn't always what you'd expect as some devices use Button 1 as a shoulder button, while other controllers map Button 1 to a button on the front face. The joystick manufacturers often provide tools to help remap if needed.

Thanks,
John

_forum_dinput.jpg
Tall John
Tall John's picture
User offline. Last seen 2 days 11 hours ago. Offline
Joined: 01/27/2011
Posts:
Xbox 360 controller only?

Hi msdos622wasfun,

I've not completely answered your question. I've told you how you can set the joystick but not how a user of your game can.

In the front-end editor you can create text or images to act as buttons. In the On Click actions you can choose Keyboard, Xbox, Joystick (which is DirectInput Joystick), as well as touch and sensor options. These will activate that control method for the player.

If you have any further questions about this then please let me know.

Thanks,
John

_forum_dinput2.jpg
msdos622wasfun
User offline. Last seen 9 weeks 3 days ago. Offline
Joined: 07/25/2016
Posts:
Thanks for the feedback.

Thanks for the feedback. From now on I will probably allow my users to choose among those input options so I have all the bases covered.

Any suggestions as to how to indicate on a front-end screen when something is chosen, like the input method in this case? Something tells me you'll have a feature like this in the next update.

Tall John
Tall John's picture
User offline. Last seen 2 days 11 hours ago. Offline
Joined: 01/27/2011
Posts:
Xbox 360 controller only?

Hi msdos622wasfun,

You are absolutely right. :) You can't highlight an item at the moment but this is being worked on. This will also allow the joystick controller to be used for navigating through the menus, so it's an important feature.

Thanks again,
John

msdos622wasfun
User offline. Last seen 9 weeks 3 days ago. Offline
Joined: 07/25/2016
Posts:
Cool, thanks.

Cool, thanks.