Plasma Pong Tilt Script
From WiiLi
/*This is a really basic plasma pong script that I
found to work quite well. Hold the wiimote (without the nunchuk)
sideways with your right hand on the 2 button and left on the d-pad.
To make things easier, start a new game and then minimize plasma pong
to run the script.
Controls:
Left Mouse Click: 2 Button
Right Mouse Click: Any D-Pad Button
Esc/Pause game: Home
Move mouse/paddle up and down: Tilt wiimote
Enjoy!
- /
var.y = Wiimote.Roll
debug = (var.y)
var.WMX01= MapRange(Wiimote1.SmoothRoll, -40 degrees,40 degrees, 0,1)
var.WMX= smooth(var.WMX01,1,0.006);
Mouse.y = var.WMX
mouse.leftbutton = wiimote.Two
mouse.rightbutton = wiimote.down
mouse.rightbutton = wiimote.Up
mouse.rightbutton = wiimote.left
mouse.rightbutton = wiimote.right
key.escape = wiimote.home

