I'm designing an adult (18+) Wii game with my classmate, to see our progress, check http://blog.amikaze.net regularly.
I have the Wiimote and Nunchuk hooked up to my PC using Bluetooth. WiiFlash (www.wiiflash.org) enables me to catch the input and use it with ActionScript 3.0.
Each dot moves according to the data the Wiimote receives:
- red dot: Wiimote sensor data
- purple dot: Wiimote IR data
- blue dot: Wiimote directional pad
- green dot: Nunchuk sensor data
- yellow dot: Nunchuk analog stick.
In the upper left of the screen you can see a status message which responds to the buttons I press on the controllers. It says "Home released" in the first part of the movie, because I set the Home button on the Wiimote to reset the dots.
Oh and regarding the IR data: it says "balanced" because the number is an accumulation of two sensor inputs. This is because there are two infrared lights in the sensorbar and the Wiimote receives the X and Y values of the leds according to the Wiimote position.
Furthermore, "NaN" means "Not a Number" and shows the Wiimote doesn't detect the lights.
Hi, I hav problem getting the IR data... and moving -transation- things smoothly on the stage.. Anything you came across? Let us know what you have done with wiiflash, it sounds interesting.. thx
gaelleberton 2 years ago