Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Qbanyto 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?
-
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.
-
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.
-
Hi.
Rewired has playmaker actions :)
-
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?
-
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 :) )
-
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?
-
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.
-
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 :)