By using this site, you agree to our Privacy Policy and our Terms of Use. Close

Here is my GlovePie script for when playing the Wiimote+Nunchuk with Mugen. Unfortunetly I didn't feel like binding it to the PPJoy and instead bound it to the keyboard. The keyboard isn't as good, but good enough. I will comment my the sections to clarify what is going on.

 

The 6 key attack are

[L ; '] L, semicolon, apostrphe for the punches, [ , . / ] comma, period, slash for kicks. I decided that double button presses are ok for 2 main reasons. Some fighers  do use 2 buttons for harder attacks and that Heavy attack is best used on open or end of attack chains.
[code]
Key.L = Wiimote1.A   // light punch
Key.Semicolon = Wiimote1.B  // medium punch
Key.Apostrophe = Wiimote1.A && Wiimote1.B  // heavy punch, A+B
Key.Apostrophe = Wiimote.RelAcc > 20            // or shake the Wiimote
Key.Comma = Wiimote1.Nunchuk.CButton      // light kick
Key.Period = Wiimote1.Nunchuk.ZButton         // medium kick
Key.Slash = Wiimote1.Nunchuk.CButton && Wiimote1.Nunchuk.ZButton  // heavy kick
Key.Slash = Wiimote.Nunchuk.RelAcc > 20      // or shake the chuck

[/code]

 

This takes in the Nunchucks input and binds into some variables. This is just for examining the data values. This is done mostly to play around with the fact that the analog stick is multi value while the keyboard is digital.

[code]
var.StickX = Wiimote1.Nunchuk.JoyX
var.StickY = Wiimote1.Nunchuk.JoyY
if var.StickX < -1.0
  var.StickX = var.StickX + 0.4
endif

[/code]

 

This checks the previously gathered analog values and then reoutpus them into a binary true false.
[code]
// Here I set the nunchuk so it corresponts with my direction keys. 
Right = 1 > var.StickX > 0.55
Left = -1 < var.StickX < -0.55
down = 1 > var.StickY > 0.55
up = -1 < var.StickY < -0.65
[/code]

 

Basic Start and Select/Escape keys

[code]
// Bind some keys to the mote, you ..can bind your own. 
Enter = Wiimote.Plus
Key.Escape = Wiimote.Minus

[/code]

 

ok heres the out come of using this for weeks. Theres a learning curve. Much like many peoples first time using an analog stick. It's soon and easily overcome. The down point of the above script isn't the Wiimote, but instead of a lazy jackass(me) who doesn't care enough to get the joystick working for Mugen. Is the game playable, extremly so. Is the game fun well the controls don't take away from it. So for those of you who haven't played it and are claiming it's "impossible". Stop heres your code above. Get your self a copy of Mugen, SF pack  , borrow a Wiimote+Chuk and Blue Tooth and give it a whirl. Otherwise it's time to close that argument, because you don't know what your talking about. Your just being biased.



Squilliam: On Vgcharts its a commonly accepted practice to twist the bounds of plausibility in order to support your argument or agenda so I think its pretty cool that this gives me the precedent to say whatever I damn well please.