playMaker

Author Topic: what Iif my customer uses different controllers?  (Read 1357 times)

Qbanyto

  • Full Member
  • ***
  • Posts: 137
  • Vista Larga, Paso corto
what Iif my customer uses different controllers?
« on: February 13, 2021, 12:09:41 PM »
I've successfully set up my xbox one controller to work with my game but what if someone uses a ps3/4/5 controller  or some generic usb game pad on their computer? does this mean those wont work?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: what Iif my customer uses different controllers?
« Reply #1 on: February 13, 2021, 09:24:01 PM »
Hi.
Best is to use Rewired asset, i've been using it in several projects now.
Initially its a bit of documentation to go thru (and required to get things setup correctly)
But definitely worth it.

Qbanyto

  • Full Member
  • ***
  • Posts: 137
  • Vista Larga, Paso corto
Re: what Iif my customer uses different controllers?
« Reply #2 on: February 16, 2021, 09:10:46 PM »
yea i was tinkering with it and honestly I wanted to use rewire, but i'm worried about having to code. I understand he created some playmaker actions and saw he was posting here (guavaman) but last time i try using it i got no where fast. I will have to try again i guess.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: what Iif my customer uses different controllers?
« Reply #3 on: February 17, 2021, 08:11:16 AM »
Hi.
Rewired has playmaker actions :)

Omninorm

  • Playmaker Newbie
  • *
  • Posts: 33
Re: what Iif my customer uses different controllers?
« Reply #4 on: February 20, 2021, 06:10:11 AM »
I think Controller Freak 2 does as well.
I am also looking at this issue now and need to decide on one to get and implement. Both seem to have Playmaker actions.

What is the best time to implement this type of thing - at the beginning or later in the project would you guys say?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: what Iif my customer uses different controllers?
« Reply #5 on: February 20, 2021, 07:07:59 AM »
Hi.
If you have Controls actions in separate fsms you can easily swap them any time,
Else its better to do this early, as the other assets have their own control actions.

i have both assets, but for gamepad/keyboard controls i prefer Rewired.

for touch i have been using control freak 2, rewired has touch control as well but i have not used that yet (since I'm already used with Control Freak for this :) )

Omninorm

  • Playmaker Newbie
  • *
  • Posts: 33
Re: what Iif my customer uses different controllers?
« Reply #6 on: February 20, 2021, 05:55:17 PM »
Thanks djaydino,
Current project won't be using Touch at all. PC so Controller and Mouse/KB, so I'll definitely give Rewired a look.

The different FSM idea sounds pretty good. I guess then you have some sort of Variable or action for if a control is active then switch off the other FSM or I guess one can be running both?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Re: what Iif my customer uses different controllers?
« Reply #7 on: February 21, 2021, 06:01:04 AM »
Hi.
In our game i use a fsm for movement horizontal, a fsm for Climb objects (vertical) and one for buttons.
all 3 have a enable/disable event which i can trigger.
On the button fsm i use Set Fsm Bool to for example jump, roll, attacks fsms.
But the setup is quite complex as there are a lot of movements.

Rewired is a bit intimidating to start with, and you will have to go thru the documentation.
But its very powerful and supports most controllers.

Omninorm

  • Playmaker Newbie
  • *
  • Posts: 33
Re: what Iif my customer uses different controllers?
« Reply #8 on: February 21, 2021, 08:08:40 AM »
Interesting. I will definitely have a look. Congratulations on your game btw. Looks amazing - will buy it when I have some more time to play :)