Posted By: zygote | Mar 31st, 2007 @ 6:53 PM
page 1 of 1
Comments: 3 | Views: 3892
I have been horsing around with the WiiMote and decided to try using it to control the Nuclex Ball Race game using the accellerometer of the Wiimote and Nunchuck.

If the chuck is plugged in, the chuck is used for the forward and backward tilt and the mote is used for the left and right tilt. If the chuck is unplugged then the wiimote is used for both rotations.

I have also decreased the physics speed to make it a little easier since it may take a few tries to get used to the feel.

I have also implemented buttons one and two (alternatively A and trigger) to select from the menu so you dont have to go back to the mouse for anything.

Check out the video here (source code is also listed)

Wiimote in XNA with No Lag

Ziggy
Ziggyware XNA News and Tutorials
That's awesome. It looked like it was pretty laggy, though. But still, really cool. I didn't check out the source code yet, but how does the communication with the Wiimote work?

The wiimote does have a slight lag to it probably due to using the accellerometer values directly.

The communication from the wiimote to the pc is done via BlueTooth.

To compile the source code you will need visual c++ 2005 express and visual c# 2005 express (i'm sure the pro versions will work as well)

Thanks,

Ziggy
Ziggyware XNA News and Tutorials

I have resolved all of the issues relating to controller lag and the game plays incredible with the wiimote!

I'd like to see more PC games using XNA take advantage of the great potential of this technology.

Get the update


Ziggy
Ziggyware XNA News and Tutorials
page 1 of 1
Comments: 3 | Views: 3892