playMaker

Author Topic: Rewired (polling) Actions  (Read 37824 times)

davebac

  • Playmaker Newbie
  • *
  • Posts: 3
Rewired (polling) Actions
« on: January 01, 2015, 06:17:19 PM »
This is an (still incomplete) set of actions for the Rewired control system.  This covers most of the polling API. 


nick_h82

  • Playmaker Newbie
  • *
  • Posts: 36
Re: Rewired (polling) Actions
« Reply #1 on: March 05, 2015, 01:44:29 PM »
I've been using these for a few weeks and they've been terrific, thanks!

clownshoe

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Rewired (polling) Actions
« Reply #2 on: March 06, 2015, 06:21:05 AM »
Amazing, thank you for this!
Now I just need to work out how to use Rewired :D

LogLady

  • Full Member
  • ***
  • Posts: 150
Re: Rewired (polling) Actions
« Reply #3 on: March 18, 2015, 02:17:20 PM »
It's awesome!

Could you please add the Get Axis Vector and Axis Event Extended?

Thanks a lot for your work!

LogLady

  • Full Member
  • ***
  • Posts: 150
Re: Rewired (polling) Actions
« Reply #4 on: March 18, 2015, 07:54:33 PM »
I found a weird bug:

After setting any Rewired action and play the project when I stop the project and remove the action from the state and play the project again, the action is added back to the state. Even if I change the action for another the old action substitutes the action. If I change the Player Id or the action name inside the Rewired action when I press play it goes back to the first value set.

justifun

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 280
Re: Rewired (polling) Actions
« Reply #5 on: March 31, 2015, 07:11:42 PM »
Am i correct in assuming that when you want to test if a button as been pressed you need to use the "Rewired Get Button Down" action, then store the value as a bool, then use a "Bool Test" to send it to the next event?

Would it be possible to adjust the action so that it functions similar to the way a normal "get button down" action works where you can specify the event to go to when it occurs?

inyourbus

  • Playmaker Newbie
  • *
  • Posts: 43
  • In Your Legends
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #6 on: April 17, 2015, 01:46:42 PM »
How do you use these actions to detect if axis are used?

I guess I'm missing some fundamental workflow here, but if someone could point out how to make use of them I would be most grateful.
One step at a time..

LogLady

  • Full Member
  • ***
  • Posts: 150
Re: Rewired (polling) Actions
« Reply #7 on: April 17, 2015, 05:10:08 PM »
@justifun

I think that is the way to use it, at least it is how I'm using it.

@inyourbus

Use "Rewired get axis" but remember that you must first creat a joystick map using the Rewired editor.

inyourbus

  • Playmaker Newbie
  • *
  • Posts: 43
  • In Your Legends
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #8 on: April 17, 2015, 05:20:18 PM »
@loglady

can you give me a little more guidance please?
One step at a time..

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Rewired (polling) Actions
« Reply #9 on: April 28, 2015, 02:32:05 PM »
Has anyone used these actions to successfully get 2+ players working with Rewired and PM? I just started using it- confused about how to assign players to controls through PM
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

inyourbus

  • Playmaker Newbie
  • *
  • Posts: 43
  • In Your Legends
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #10 on: May 01, 2015, 11:08:52 AM »
Has anyone used these actions to successfully get 2+ players working with Rewired and PM? I just started using it- confused about how to assign players to controls through PM

I tried this yesterday and no, I couldn't get another controller to work.
One step at a time..

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Rewired (polling) Actions
« Reply #11 on: May 01, 2015, 07:10:13 PM »
Quote from: inyourbus link=topic=9134.msg48410#msg48410
[/quote

I tried this yesterday and no, I couldn't get another controller to work.

Thanks for the reply- I'll skip Rewired then-  I was able to set up multiple players and got it working using the built in input manager- not as flexible as Rewired but it works
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

inyourbus

  • Playmaker Newbie
  • *
  • Posts: 43
  • In Your Legends
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #12 on: May 11, 2015, 02:48:53 PM »
I tried to get the two controllers working again today.


I managed to get it working by setting up a keyboard map as player two, and a Playstaion DS4 as Player one.


I assigned the Player ID(0) to one object and Player ID (1) to a duplicate object and could move them independently using the keyboard or the DS4.


Still no luck with 2 DS4s











« Last Edit: May 11, 2015, 04:02:44 PM by inyourbus »
One step at a time..

mdotstrange

  • Hero Member
  • *****
  • Posts: 555
    • Can't code? Who cares! Make games anyway!
Re: Rewired (polling) Actions
« Reply #13 on: May 11, 2015, 03:59:20 PM »
Thats too bad- seems like it would be a really useful asset if it easily worked with PM- I'm manually working with local multiplayer and I can't find a way to tell Unity what joystick is what- it seems to randomly assign joysticks to player 1, player 2 etc
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

inyourbus

  • Playmaker Newbie
  • *
  • Posts: 43
  • In Your Legends
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #14 on: May 11, 2015, 04:04:28 PM »
Thing is, if you try the EightPlayerDemo, It proves that up to eight players can be assigned controls with no issue. 
One step at a time..