playMaker

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

davebac

  • Playmaker Newbie
  • *
  • Posts: 3
    • View Profile
Rewired (polling) Actions
« on: January 01, 2015, 04: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
    • View Profile
Re: Rewired (polling) Actions
« Reply #1 on: March 05, 2015, 11:44:29 AM »
I've been using these for a few weeks and they've been terrific, thanks!

clownshoe

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

LogLady

  • Full Member
  • ***
  • Posts: 125
    • View Profile
Re: Rewired (polling) Actions
« Reply #3 on: March 18, 2015, 11:17:20 AM »
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: 125
    • View Profile
Re: Rewired (polling) Actions
« Reply #4 on: March 18, 2015, 04: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
  • Full Member
  • *
  • Posts: 228
    • View Profile
Re: Rewired (polling) Actions
« Reply #5 on: March 31, 2015, 04: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
    • View Profile
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #6 on: April 17, 2015, 10:46:42 AM »
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: 125
    • View Profile
Re: Rewired (polling) Actions
« Reply #7 on: April 17, 2015, 02: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
    • View Profile
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #8 on: April 17, 2015, 02:20:18 PM »
@loglady

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

mdotstrange

  • Hero Member
  • *****
  • Posts: 549
    • View Profile
    • Can't code? Who cares! Make games anyway!
Re: Rewired (polling) Actions
« Reply #9 on: April 28, 2015, 11:32:05 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
Indie game dev and instructor at the Strange School. Learn Playmaker at the Strange School!

inyourbus

  • Playmaker Newbie
  • *
  • Posts: 43
  • In Your Legends
    • View Profile
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #10 on: May 01, 2015, 08: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: 549
    • View Profile
    • Can't code? Who cares! Make games anyway!
Re: Rewired (polling) Actions
« Reply #11 on: May 01, 2015, 04: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
    • View Profile
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #12 on: May 11, 2015, 11:48:53 AM »
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, 01:02:44 PM by inyourbus »
One step at a time..

mdotstrange

  • Hero Member
  • *****
  • Posts: 549
    • View Profile
    • Can't code? Who cares! Make games anyway!
Re: Rewired (polling) Actions
« Reply #13 on: May 11, 2015, 12: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
    • View Profile
    • In Your Legends
Re: Rewired (polling) Actions
« Reply #14 on: May 11, 2015, 01: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..